@Path(value="auth") public class AuthController extends AbstractManagementController
Constructor and Description |
---|
AuthController() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
auth(JsonUsernamePasswordObject authJsonToken)
User authentication request rest endpoint
|
javax.ws.rs.core.Response |
unauthorized()
This will be the end point for unauthorized requests.
|
sendCustomResponse, sendCustomResponse, sendCustomSuccessResponse, sendSuccessResponse
@POST @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response auth(JsonUsernamePasswordObject authJsonToken)
authJsonToken
- the JSON token that represents the authentication session@GET @Path(value="/unauthorized") @Produces(value="application/json") public javax.ws.rs.core.Response unauthorized()
Copyright © 2016–2019 AdroitLogic. All rights reserved.