Security API
AuthenticationResult
| Field name | Description |
|---|---|
| success | boolean indicating if the authentication process succeed |
| token | the auth-token used in the http calls to identify the user |
| username | the username of the logged in account |
| roles | List of the roles assigned to the user (MWP_ADMIN, KBA_MANAGER or USER) |
| userType | the type of user can be "NORMAL_USER", "NON_PERSONAL_ACCOUNT" (an account without email address), "ANONYMOUS_USER" (when no log in is needed to access the application) |
Example:
{
"success":"true",
"username" : "admin",
"token":"4f434123-f7a9-4028-b873-fef521b20460.local",
"roles":["MWP_ADMIN"],
"userType":"NORMAL_USER"
}