Class RolePrefixSecurityContextImpl
java.lang.Object
org.apache.cxf.interceptor.security.RolePrefixSecurityContextImpl
- All Implemented Interfaces:
- LoginSecurityContext,- SecurityContext
- 
Constructor SummaryConstructorsConstructorDescriptionRolePrefixSecurityContextImpl(Subject subject, String rolePrefix) RolePrefixSecurityContextImpl(Subject subject, String roleClassifier, String roleClassifierType) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns the Subject representing the current authenticated user.Returns a set of Principals representing the roles assigned to the current authenticated user PrincipalbooleanisUserInRole(String role) 
- 
Constructor Details- 
RolePrefixSecurityContextImpl
- 
RolePrefixSecurityContextImpl
 
- 
- 
Method Details- 
getUserPrincipal- Specified by:
- getUserPrincipalin interface- SecurityContext
 
- 
isUserInRole- Specified by:
- isUserInRolein interface- SecurityContext
 
- 
getSubjectDescription copied from interface:LoginSecurityContextReturns the Subject representing the current authenticated user.- Specified by:
- getSubjectin interface- LoginSecurityContext
- Returns:
- the subject
 
- 
getUserRolesDescription copied from interface:LoginSecurityContextReturns a set of Principals representing the roles assigned to the current authenticated user Principal- Specified by:
- getUserRolesin interface- LoginSecurityContext
- Returns:
- the roles
 
 
-