public class DefaultSubjectRoleParser extends Object implements SubjectRoleParser
Constructor and Description |
---|
DefaultSubjectRoleParser() |
Modifier and Type | Method and Description |
---|---|
String |
getRoleClassifier() |
String |
getRoleClassifierType() |
Set<Principal> |
parseRolesFromSubject(Principal principal,
Subject subject)
Return the set of User/Principal roles from the Subject.
|
void |
setRoleClassifier(String roleClassifier)
Set the Subject Role Classifier to use.
|
void |
setRoleClassifierType(String roleClassifierType)
Set the Subject Role Classifier Type to use.
|
public Set<Principal> parseRolesFromSubject(Principal principal, Subject subject)
parseRolesFromSubject
in interface SubjectRoleParser
principal
- the optional Principalsubject
- the JAAS Subjectpublic String getRoleClassifier()
public void setRoleClassifier(String roleClassifier)
roleClassifier
- the Subject Role Classifier to usepublic String getRoleClassifierType()
public void setRoleClassifierType(String roleClassifierType)
roleClassifierType
- the Subject Role Classifier Type to useApache CXF