public class RolePrefixSecurityContextImpl extends Object implements org.apache.cxf.security.LoginSecurityContext
| Constructor and Description |
|---|
RolePrefixSecurityContextImpl(Subject subject,
String rolePrefix) |
RolePrefixSecurityContextImpl(Subject subject,
String roleClassifier,
String roleClassifierType) |
| Modifier and Type | Method and Description |
|---|---|
Subject |
getSubject() |
Principal |
getUserPrincipal() |
Set<Principal> |
getUserRoles() |
boolean |
isUserInRole(String role) |
public RolePrefixSecurityContextImpl(Subject subject, String rolePrefix)
public Principal getUserPrincipal()
getUserPrincipal in interface org.apache.cxf.security.SecurityContextpublic boolean isUserInRole(String role)
isUserInRole in interface org.apache.cxf.security.SecurityContextpublic Subject getSubject()
getSubject in interface org.apache.cxf.security.LoginSecurityContextApache CXF