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 embeddedAuthenticationResults from inside theAuthenticationResultPrincipalcollection of an activeAuthenticationResultof the currently executing flow.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateDefaultResultLookupStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<AuthenticationResult>apply(ProfileRequestContext input)(package private) voidprocessActiveResult(ProfileRequestContext profileRequestContext, AuthenticationContext authenticationContext, Collection<AuthenticationResult> results, AuthenticationResult candidate)Check an active result for possible inclusion in the returned collection.
-
-
-
Method Detail
-
apply
@Nullable public Collection<AuthenticationResult> apply(@Nullable ProfileRequestContext input)
- Specified by:
applyin 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
-
-