Interface ODLPrincipal
- All Superinterfaces:
Principal
Principal for authentication.
-
Method Summary
Modifier and TypeMethodDescriptionExtract the domain that is making the request.getRoles()The roles granted to the user making the request.The user id for the user making the request, which is unique.Extract username that is making the request.
-
Method Details
-
getUsername
String getUsername()Extract username that is making the request.- Returns:
- the requesting username
-
getDomain
String getDomain()Extract the domain that is making the request.- Returns:
- the domain for the requesting username
-
getUserId
String getUserId()The user id for the user making the request, which is unique.- Returns:
- the user id in the form username@domain
-
getRoles
The roles granted to the user making the request.- Returns:
- roles associated with the user making the request.
-