Class AbstractOIDCAuthenticationResponseAction

    • Field Detail

      • log

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

        @Nonnull
        private Function<ProfileRequestContext,​net.shibboleth.oidc.metadata.context.OIDCProviderMetadataContext> providerMetadataLookupStrategy
        Lookup strategy to locate the OP metadata to use.
      • authnResponse

        @Nullable
        private com.nimbusds.openid.connect.sdk.AuthenticationSuccessResponse authnResponse
        OIDC authentication response from upstream OP.
      • authnRequest

        @Nullable
        private net.shibboleth.oidc.profile.core.OIDCAuthenticationRequest authnRequest
        OIDC authentication request built by the IdP.
      • providerMetadataContext

        @Nullable
        private net.shibboleth.oidc.metadata.context.OIDCProviderMetadataContext providerMetadataContext
        OIDC Metadata context.
    • Constructor Detail

      • AbstractOIDCAuthenticationResponseAction

        protected AbstractOIDCAuthenticationResponseAction()
        Constructor.
    • Method Detail

      • setProviderMetadataLookupStrategy

        public void setProviderMetadataLookupStrategy​(@Nonnull
                                                      Function<ProfileRequestContext,​net.shibboleth.oidc.metadata.context.OIDCProviderMetadataContext> strategy)
        Set the lookup strategy to locate the OpenID providers metadata.
        Parameters:
        strategy - the strategy.
      • getAuthenticationResponse

        @Nullable
        protected com.nimbusds.openid.connect.sdk.AuthenticationSuccessResponse getAuthenticationResponse()
        Returns the authentication response from the upstream OP. Should never be null after AbstractAuthenticationAction.doPreExecute(ProfileRequestContext) has been called.
        Returns:
        the authentication response.
      • getAuthenticationRequest

        @Nullable
        protected net.shibboleth.oidc.profile.core.OIDCAuthenticationRequest getAuthenticationRequest()
        Returns the authentication request build by this IdP. Should never be null after AbstractAuthenticationAction.doPreExecute(ProfileRequestContext) has been called.
        Returns:
        the authentication request.
      • getProviderMetadataContext

        @Nullable
        protected net.shibboleth.oidc.metadata.context.OIDCProviderMetadataContext getProviderMetadataContext()
        Returns the OIDC provider metadata context. Should never be null after AbstractAuthenticationAction.doPreExecute(ProfileRequestContext) has been called.
        Returns:
        The provider metadata context.
      • doPreExecute

        protected boolean doPreExecute​(@Nonnull
                                       ProfileRequestContext profileRequestContext,
                                       @Nonnull
                                       net.shibboleth.idp.authn.context.AuthenticationContext authenticationContext)
        Overrides:
        doPreExecute in class net.shibboleth.idp.authn.AbstractAuthenticationAction