Class InitializeRelyingPartyContext

    • Field Detail

      • log

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

        @Nonnull
        private Function<ProfileRequestContext,​net.shibboleth.idp.profile.context.RelyingPartyContext> relyingPartyContextCreationStrategy
        Strategy that will return or create a RelyingPartyContext.
      • oidcMetadataContextLookupStrategy

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

        @Nonnull
        private Function<MessageContext,​com.nimbusds.oauth2.sdk.id.ClientID> clientIDLookupStrategy
        Strategy used to obtain the client id value for authorize/token request.
      • clientId

        @Nullable
        private com.nimbusds.oauth2.sdk.id.ClientID clientId
        OIDC client id.
      • inbound

        private boolean inbound
        Use the inbound message tree?
    • Constructor Detail

      • InitializeRelyingPartyContext

        public InitializeRelyingPartyContext()
        Constructor.
    • Method Detail

      • setClientIDLookupStrategy

        public void setClientIDLookupStrategy​(@Nonnull
                                              Function<MessageContext,​com.nimbusds.oauth2.sdk.id.ClientID> strategy)
        Set the strategy used to locate the client id of the request.
        Parameters:
        strategy - lookup strategy
      • setRelyingPartyContextCreationStrategy

        public void setRelyingPartyContextCreationStrategy​(@Nonnull
                                                           Function<ProfileRequestContext,​net.shibboleth.idp.profile.context.RelyingPartyContext> strategy)
        Set the strategy used to return or create the RelyingPartyContext .
        Parameters:
        strategy - creation strategy
      • 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.
      • setInbound

        public void setInbound​(boolean flag)
        Sets which message tree to use in deriving the ClientID and OIDC metadata.

        Defaults to true (the inbound tree).

        Parameters:
        flag - true iff the inbound tree should be used
        Since:
        3.1.0