Class AuthHandler

java.lang.Object
i5.las2peer.connectors.webConnector.handler.AuthHandler

@Path("/las2peer/auth") public class AuthHandler extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getLogin

      @GET @Produces("application/json") @Path("/login") public javax.ws.rs.core.Response getLogin(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.HttpHeaders httpHeaders) throws Exception
      Throws:
      Exception
    • handleRegistration

      @POST @Path("/create") @Produces("application/json") public javax.ws.rs.core.Response handleRegistration(String requestBody) throws Exception
      Throws:
      Exception
    • getLogout

      @GET @Path("/logout") @Produces("application/json") public javax.ws.rs.core.Response getLogout(@CookieParam("sessionid") String sessionId)
    • postLogout

      @POST @Path("/logout") @Produces("application/json") public javax.ws.rs.core.Response postLogout(@CookieParam("sessionid") String sessionId)
    • getValidate

      @GET @Path("/validate") @Produces("application/json") public javax.ws.rs.core.Response getValidate(@CookieParam("sessionid") String sessionId)