org.apache.cxf.interceptor.security
Class RolePrefixSecurityContextImpl
java.lang.Object
org.apache.cxf.interceptor.security.RolePrefixSecurityContextImpl
- All Implemented Interfaces:
- org.apache.cxf.security.LoginSecurityContext, org.apache.cxf.security.SecurityContext
public class RolePrefixSecurityContextImpl
- extends Object
- implements org.apache.cxf.security.LoginSecurityContext
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RolePrefixSecurityContextImpl
public RolePrefixSecurityContextImpl(Subject subject,
String rolePrefix)
RolePrefixSecurityContextImpl
public RolePrefixSecurityContextImpl(Subject subject,
String roleClassifier,
String roleClassifierType)
getUserPrincipal
public Principal getUserPrincipal()
- Specified by:
getUserPrincipal in interface org.apache.cxf.security.SecurityContext
isUserInRole
public boolean isUserInRole(String role)
- Specified by:
isUserInRole in interface org.apache.cxf.security.SecurityContext
getSubject
public Subject getSubject()
- Specified by:
getSubject in interface org.apache.cxf.security.LoginSecurityContext
getUserRoles
public Set<Principal> getUserRoles()
- Specified by:
getUserRoles in interface org.apache.cxf.security.LoginSecurityContext
Apache CXF