Class OIDCClientInfoCredentialValidator

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface net.shibboleth.idp.authn.CredentialValidator

        net.shibboleth.idp.authn.CredentialValidator.ErrorHandler, net.shibboleth.idp.authn.CredentialValidator.WarningHandler
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doInitialize()
      protected Subject doValidate​(ProfileRequestContext profileRequestContext, net.shibboleth.idp.authn.context.AuthenticationContext authenticationContext, net.shibboleth.idp.authn.context.UsernamePasswordContext usernamePasswordContext, net.shibboleth.idp.authn.CredentialValidator.WarningHandler warningHandler, net.shibboleth.idp.authn.CredentialValidator.ErrorHandler errorHandler)
      protected Subject doValidate​(ProfileRequestContext profileRequestContext, net.shibboleth.idp.authn.context.AuthenticationContext authenticationContext, net.shibboleth.idp.authn.CredentialValidator.WarningHandler warningHandler, net.shibboleth.idp.authn.CredentialValidator.ErrorHandler errorHandler)
      void setOidcMetadataContextLookupStrategy​(Function<ProfileRequestContext,​net.shibboleth.oidc.metadata.context.OIDCMetadataContext> strategy)
      Set the strategy used to return the OIDCMetadataContext.
      • Methods inherited from class net.shibboleth.idp.authn.AbstractUsernamePasswordCredentialValidator

        applyTransforms, populateSubject, removeContextAfterValidation, savePasswordToCredentialSet, setLowercase, setMatchExpression, setRemoveContextAfterValidation, setSavePasswordToCredentialSet, setTransforms, setTrim, setUppercase, setUsernamePasswordContextLookupStrategy
      • Methods inherited from class net.shibboleth.idp.authn.AbstractCredentialValidator

        getLogPrefix, getSupportedPrincipals, isAcceptable, populateSubject, setActivationCondition, setId, setSupportedPrincipals, validate
    • Field Detail

      • log

        @Nonnull
        private final org.slf4j.Logger log
        Class logger.
      • oidcMetadataContextLookupStrategy

        @Nonnull
        private Function<ProfileRequestContext,​net.shibboleth.oidc.metadata.context.OIDCMetadataContext> oidcMetadataContextLookupStrategy
        Strategy that will return OIDCMetadataContext.
      • clientInformation

        @Nullable
        private com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation clientInformation
        Client information.
    • Constructor Detail

      • OIDCClientInfoCredentialValidator

        public OIDCClientInfoCredentialValidator()
        Constructor.
    • Method Detail

      • setOidcMetadataContextLookupStrategy

        public void setOidcMetadataContextLookupStrategy​(@Nonnull
                                                         Function<ProfileRequestContext,​net.shibboleth.oidc.metadata.context.OIDCMetadataContext> strategy)
        Set the strategy used to return the OIDCMetadataContext.
        Parameters:
        strategy - The lookup strategy.
      • doValidate

        protected Subject doValidate​(@Nonnull
                                     ProfileRequestContext profileRequestContext,
                                     @Nonnull
                                     net.shibboleth.idp.authn.context.AuthenticationContext authenticationContext,
                                     @Nullable
                                     net.shibboleth.idp.authn.CredentialValidator.WarningHandler warningHandler,
                                     @Nullable
                                     net.shibboleth.idp.authn.CredentialValidator.ErrorHandler errorHandler)
                              throws Exception
        Overrides:
        doValidate in class net.shibboleth.idp.authn.AbstractUsernamePasswordCredentialValidator
        Throws:
        Exception
      • doValidate

        @Nullable
        protected Subject doValidate​(@Nonnull
                                     ProfileRequestContext profileRequestContext,
                                     @Nonnull
                                     net.shibboleth.idp.authn.context.AuthenticationContext authenticationContext,
                                     @Nonnull
                                     net.shibboleth.idp.authn.context.UsernamePasswordContext usernamePasswordContext,
                                     @Nullable
                                     net.shibboleth.idp.authn.CredentialValidator.WarningHandler warningHandler,
                                     @Nullable
                                     net.shibboleth.idp.authn.CredentialValidator.ErrorHandler errorHandler)
                              throws Exception
        Specified by:
        doValidate in class net.shibboleth.idp.authn.AbstractUsernamePasswordCredentialValidator
        Throws:
        Exception