Interface SAMLRoleParser
- All Superinterfaces:
SubjectRoleParser
- All Known Implementing Classes:
DefaultSAMLRoleParser
This interface defines a way to extract roles from a SAML Assertion
-
Method Summary
Modifier and TypeMethodDescriptionparseRolesFromAssertion(Principal principal, Subject subject, org.apache.wss4j.common.saml.SamlAssertionWrapper assertion) Return the set of User/Principal roles from the Assertion.Methods inherited from interface org.apache.cxf.sts.token.validator.SubjectRoleParser
parseRolesFromSubject
-
Method Details
-
parseRolesFromAssertion
Set<Principal> parseRolesFromAssertion(Principal principal, Subject subject, org.apache.wss4j.common.saml.SamlAssertionWrapper assertion) Return the set of User/Principal roles from the Assertion.- Parameters:
principal- the Principal associated with the Assertionsubject- the JAAS Subject associated with a successful validation of the Assertionassertion- The Assertion object- Returns:
- the set of User/Principal roles from the Assertion.
-