Class RoleDelegateUserIdentity
java.lang.Object
org.eclipse.jetty.security.RoleDelegateUserIdentity
- All Implemented Interfaces:
 UserIdentity
- 
Constructor Summary
ConstructorsConstructorDescriptionRoleDelegateUserIdentity(Subject subject, Principal principal, UserIdentity roleDelegate)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisUserInRole(String role) Check if the user is in a role. 
- 
Constructor Details
- 
RoleDelegateUserIdentity
 
 - 
 - 
Method Details
- 
getSubject
- Specified by:
 getSubjectin interfaceUserIdentity- Returns:
 - The user subject
 
 - 
getUserPrincipal
- Specified by:
 getUserPrincipalin interfaceUserIdentity- Returns:
 - The user principal
 
 - 
isUserInRole
Description copied from interface:UserIdentityCheck if the user is in a role. This call is used to satisfy authorization calls from container code which will be using translated role names.- Specified by:
 isUserInRolein interfaceUserIdentity- Parameters:
 role- A role name.- Returns:
 - True if the user can act in that role.
 
 - 
isEstablished
public boolean isEstablished() 
 -