Class ValidateFunctionResult

All Implemented Interfaces:
PrincipalSupportingComponent, Component, DestructableComponent, InitializableComponent, ProfileAction, Aware, MessageSource, MessageSourceAware, Action

public class ValidateFunctionResult extends AbstractAuditingValidationAction
An action that executes a deployer-supplied function and produces an AuthenticationResult based on the function result.
Since:
3.4.0
Event:
EventIds.PROCEED_EVENT_ID, AuthnEventIds.INVALID_CREDENTIALS, AuthnEventIds.NO_CREDENTIALS
Precondition:
ProfileRequestContext.getSubcontext(AuthenticationContext.class).getAttemptedFlow() != null
Postcondition:
If the function returns a String, Principal, or Subject, an AuthenticationResult is saved to the AuthenticationContext.