Class AuthHandler
java.lang.Object
i5.las2peer.connectors.webConnector.handler.AuthHandler
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
getLogin
(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders httpHeaders) javax.ws.rs.core.Response
javax.ws.rs.core.Response
getValidate
(String sessionId) javax.ws.rs.core.Response
handleRegistration
(String requestBody) javax.ws.rs.core.Response
postLogout
(String sessionId)
-
Field Details
-
RESOURCE_PATH
- See Also:
-
-
Constructor Details
-
AuthHandler
-
-
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)
-