Class AuthenticationResultPredicate
java.lang.Object
net.shibboleth.idp.authn.context.logic.AbstractAuthenticationResultPredicate
net.shibboleth.idp.authn.context.logic.AuthenticationResultPredicate
- All Implemented Interfaces:
Predicate<ProfileRequestContext>
Condition that checks for the existence of at least one active
AuthenticationResult instances
of a given flow.- Since:
- 5.2.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleandoMatch(ProfileRequestContext profileRequestContext, AuthenticationResult result) Evaluate anAuthenticationResultfor a match.Methods inherited from class net.shibboleth.idp.authn.context.logic.AbstractAuthenticationResultPredicate
getAuthenticationResults, getIncludedFlows, isIncludeIntermediateResults, setIncludedFlows, setIncludeIntermediateResults, test
-
Constructor Details
-
AuthenticationResultPredicate
public AuthenticationResultPredicate()
-
-
Method Details
-
doMatch
protected boolean doMatch(@Nonnull ProfileRequestContext profileRequestContext, @Nonnull AuthenticationResult result) Evaluate anAuthenticationResultfor a match.The default evaluation is simply that its existence is sufficient, but subclasses may override for more specific cases.
- Specified by:
doMatchin classAbstractAuthenticationResultPredicate- Parameters:
profileRequestContext- profile request contextresult- result to evaluate- Returns:
- true iff the subclass deems this a matching result
-