Package net.shibboleth.idp.authn.impl
Class FinalizeMultiFactorAuthentication.DefaultResultMergingStrategy
- java.lang.Object
-
- net.shibboleth.idp.authn.impl.FinalizeMultiFactorAuthentication.DefaultResultMergingStrategy
-
- All Implemented Interfaces:
Function<ProfileRequestContext,AuthenticationResult>
- Enclosing class:
- FinalizeMultiFactorAuthentication
public static class FinalizeMultiFactorAuthentication.DefaultResultMergingStrategy extends Object implements Function<ProfileRequestContext,AuthenticationResult>
Default merging strategy to combine individualAuthenticationResultobjects into a single result.The default strategy searches for a
MultiFactorAuthenticationContextchild of anAuthenticationContextchild of the input context, and combines all of theSubjectcontent fromMultiFactorAuthenticationContext.getActiveResults()into a single result.It assigns the flow ID based on
AuthenticationContext.getAttemptedFlow(), and also preserves the original result objects in wrapper principals within the new result.
-
-
Constructor Summary
Constructors Constructor Description DefaultResultMergingStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationResultapply(ProfileRequestContext input)
-
-
-
Method Detail
-
apply
@Nullable public AuthenticationResult apply(@Nullable ProfileRequestContext input)
- Specified by:
applyin interfaceFunction<ProfileRequestContext,AuthenticationResult>
-
-