Class AuthHandler
java.lang.Object
i5.las2peer.connectors.webConnector.handler.AuthHandler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsegetLogin(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders httpHeaders) javax.ws.rs.core.Responsejavax.ws.rs.core.ResponsegetValidate(String sessionId) javax.ws.rs.core.ResponsehandleRegistration(String requestBody) javax.ws.rs.core.ResponsepostLogout(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)
-