org.apache.cxf.rs.security.saml.authorization
Class SAMLSecurityContext
java.lang.Object
org.apache.cxf.rs.security.saml.authorization.SAMLSecurityContext
- All Implemented Interfaces:
- SecurityContext
public class SAMLSecurityContext
- extends Object
- implements SecurityContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAMLSecurityContext
public SAMLSecurityContext(Subject subject,
List<Claim> claims)
SAMLSecurityContext
public SAMLSecurityContext(SubjectPrincipal p,
Claims claims)
SAMLSecurityContext
public SAMLSecurityContext(SubjectPrincipal p,
Claims cs,
String roleClaimNameQualifier,
String roleClaimNameFormat)
getUserPrincipal
public Principal getUserPrincipal()
- Specified by:
getUserPrincipal
in interface SecurityContext
isUserInRole
public boolean isUserInRole(String role)
- Specified by:
isUserInRole
in interface SecurityContext
getClaims
public Claims getClaims()
Apache CXF