Changeset 6013


Ignore:
Timestamp:
02/23/15 11:49:00 (9 years ago)
Author:
olhsha@mpi.nl
Message:

Javadoc are updated for AuthenticationResource?.java

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/src/main/java/eu/dasish/annotation/backend/rest/AutheticationResource.java

    r5774 r6013  
    4343public class AutheticationResource extends ResourceResource {
    4444   
    45    
     45    /**
     46     *
     47     * @return the {@link Principal} object representing the current logged-on principal.
     48     * @throws IOException if sending the error fails.
     49     */
    4650    @GET
    4751    @Produces(MediaType.TEXT_XML)
     
    5761    }
    5862
    59     /* the only request that redirects to the shibboleth login-page
    60      *
     63   
     64    /**
     65     * Redirects to shibboleth authentication page.
     66     * @return welcome string or error message.
    6167     */
    6268    @GET
     
    7480    }
    7581
     82    /**
     83     *
     84     * @throws IOException if sending redirect fails.
     85     */
    7686    @GET
    7787    @Produces(MediaType.TEXT_XML)
    7888    @Path("logout")
    7989    @Transactional(readOnly = true)
    80     public void logout() throws IOException, ServletException {
     90    public void logout() throws IOException{
    8191        httpServletRequest.getSession().invalidate();
    8292        boolean isShibboleth = Boolean.parseBoolean(context.getInitParameter("eu.dasish.annotation.backend.isShibbolethSession"));
Note: See TracChangeset for help on using the changeset viewer.