Interface ODLPrincipal
-
- All Superinterfaces:
Principal
- All Known Implementing Classes:
ODLPrincipalImpl
public interface ODLPrincipal extends Principal
Principal for authentication.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDomain()
Extract the domain that is making the request.Set<String>
getRoles()
The roles granted to the user making the request.String
getUserId()
The user id for the user making the request, which is unique.String
getUsername()
Extract username that is making the request.
-
-
-
Method Detail
-
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
-
-