public interface SAMLRoleParser extends SubjectRoleParser
Modifier and Type | Method and Description |
---|---|
Set<Principal> |
parseRolesFromAssertion(Principal principal,
Subject subject,
org.apache.wss4j.common.saml.SamlAssertionWrapper assertion)
Return the set of User/Principal roles from the Assertion.
|
parseRolesFromSubject
Set<Principal> parseRolesFromAssertion(Principal principal, Subject subject, org.apache.wss4j.common.saml.SamlAssertionWrapper assertion)
principal
- the Principal associated with the Assertionsubject
- the JAAS Subject associated with a successful validation of the Assertionassertion
- The Assertion objectApache CXF