Package net.shibboleth.idp.authn.impl
Class PopulateMultiFactorAuthenticationContext.DefaultResultLookupStrategy
java.lang.Object
net.shibboleth.idp.authn.impl.PopulateMultiFactorAuthenticationContext.DefaultResultLookupStrategy
- All Implemented Interfaces:
Function<ProfileRequestContext,
Collection<AuthenticationResult>>
- Enclosing class:
- PopulateMultiFactorAuthenticationContext
private class PopulateMultiFactorAuthenticationContext.DefaultResultLookupStrategy
extends Object
implements Function<ProfileRequestContext,Collection<AuthenticationResult>>
Default strategy function to extract embedded
AuthenticationResult
s from inside
the AuthenticationResultPrincipal
collection of an active AuthenticationResult
of the currently executing flow.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(ProfileRequestContext input) (package private) void
processActiveResult
(ProfileRequestContext profileRequestContext, AuthenticationContext authenticationContext, Collection<AuthenticationResult> results, AuthenticationResult candidate) Check an active result for possible inclusion in the returned collection.
-
Constructor Details
-
DefaultResultLookupStrategy
private DefaultResultLookupStrategy()
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<ProfileRequestContext,
Collection<AuthenticationResult>>
-
processActiveResult
void processActiveResult(@Nonnull ProfileRequestContext profileRequestContext, @Nonnull AuthenticationContext authenticationContext, @Nonnull Collection<AuthenticationResult> results, @Nonnull AuthenticationResult candidate) Check an active result for possible inclusion in the returned collection.- Parameters:
profileRequestContext
- current profile request contextauthenticationContext
- current authentication contextresults
- the collection to add tocandidate
- the result to evaluate
-