Class DefaultAuthorizationRequestTypeValidationStrategy

  • All Implemented Interfaces:
    Predicate<ProfileRequestContext>

    public class DefaultAuthorizationRequestTypeValidationStrategy
    extends Object
    implements Predicate<ProfileRequestContext>
    Validation strategy for the inbound message. This predicate returns true if the message is an instance of AuthorizationRequest and the configurable authentication request requirement predicate returns false. If the configurable predicate returns true, then the message is required to be an instance of AuthenticationRequest.
    • Field Detail

      • requireAuthenticationRequest

        @Nonnull
        private Predicate<ProfileRequestContext> requireAuthenticationRequest
        Predicate used to indicate if the incoming message is required to be an OIDC authentication request.
    • Constructor Detail

      • DefaultAuthorizationRequestTypeValidationStrategy

        public DefaultAuthorizationRequestTypeValidationStrategy()
        Constructor.
    • Method Detail

      • setRequireAuthenticationRequestPredicate

        public void setRequireAuthenticationRequestPredicate​(@Nonnull
                                                             Predicate<ProfileRequestContext> predicate)
        Set the predicate used to indicate if the incoming message is required to be an OIDC authentication request.
        Parameters:
        predicate - What to set.