public interface AuthnIdentity
Modifier and Type | Method and Description |
---|---|
Set<GroupPrincipal> |
getGroups()
Gets all the groups a user belongs to in an immutable set.
|
String |
getPassword()
Gets the user's password.
|
UserPrincipal |
getUser()
Gets the user principal.
|
UserPrincipal getUser()
String getPassword()
null
if it is unavailable.Set<GroupPrincipal> getGroups()
null
if they are unavailable.