| Constructor and Description |
|---|
AuthenticationEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
authenticate(String username,
String password)
Authenticate against your user-management-system.
|
Response |
authenticateUser(String username,
String password)
Authenticate user.
|
protected abstract String |
newToken(String username)
Create a new token that is associated with the given username.
|
protected abstract void authenticate(String username, String password) throws Exception
username - the usernamepassword - the passwordException - is thrown if the credentials are not valid@POST public Response authenticateUser(@FormParam(value="username") String username, @FormParam(value="password") String password)
username - the usernamepassword - the passwordCopyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.