Class SubjectMatchProcessor
java.lang.Object
net.shibboleth.idp.attribute.resolver.dc.saml.util.impl.SubjectMatchProcessor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(ResponseData responseData) Match the response Assertions' Subject NameIDs to the one requested in the outgoing query.private booleansubjectMatches(Assertion assertion, Subject querySubject) Evaluate whether the subject of the specified Assertion matches that of the specified Subject.
-
Field Details
-
log
@Nonnull private org.slf4j.Logger logLogger.
-
-
Constructor Details
-
SubjectMatchProcessor
public SubjectMatchProcessor()
-
-
Method Details
-
process
Match the response Assertions' Subject NameIDs to the one requested in the outgoing query.If an assertion's subject does not match what was requested, it will be removed from further processing.
- Parameters:
responseData- the response data being processed
-
subjectMatches
Evaluate whether the subject of the specified Assertion matches that of the specified Subject.- Parameters:
assertion- the Assertion to evaluatequerySubject- the subject against which to match- Returns:
- true if Assertion subject matches, false if it does not match
-