public class RolePrefixSecurityContextImpl extends Object implements LoginSecurityContext
| Constructor and Description | 
|---|
RolePrefixSecurityContextImpl(Subject subject,
                             String rolePrefix)  | 
RolePrefixSecurityContextImpl(Subject subject,
                             String roleClassifier,
                             String roleClassifierType)  | 
| Modifier and Type | Method and Description | 
|---|---|
Subject | 
getSubject()
Returns the Subject representing the current authenticated user. 
 | 
Principal | 
getUserPrincipal()  | 
Set<Principal> | 
getUserRoles()
Returns a set of Principals representing the roles
 assigned to the current authenticated user Principal 
 | 
boolean | 
isUserInRole(String role)  | 
public RolePrefixSecurityContextImpl(Subject subject, String rolePrefix)
public Principal getUserPrincipal()
getUserPrincipal in interface SecurityContextpublic boolean isUserInRole(String role)
isUserInRole in interface SecurityContextpublic Subject getSubject()
LoginSecurityContextgetSubject in interface LoginSecurityContextpublic Set<Principal> getUserRoles()
LoginSecurityContextgetUserRoles in interface LoginSecurityContextApache CXF