public interface AuthenticatedUser
Modifier and Type | Method and Description |
---|---|
String |
getUserName()
Get user name.
|
Principal |
getUserPrincipal()
Get user principal object.
|
boolean |
isUserInRole(String role)
Check if user in specified role.
|
String getUserName()
Principal getUserPrincipal()
boolean isUserInRole(String role)
role
- Role.