Class ValidateResponseState

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

public class ValidateResponseState extends AbstractOIDCAuthenticationResponseAction
Authentication action that validates the authentication response state parameter (which is required in the Proxy flow) matches that in the authentication request.

Note, the state parameter could be an encoded format with more than one component. Even if so, the entire state value between request and response is matched. There is no need to decompose it.

Event:
EventIds.PROCEED_EVENT_ID, AuthnEventIds.NO_CREDENTIALS
Precondition:
ProfileRequestContext.getSubcontext(AuthenticationContext.class, false) != null