Class DefaultSubjectTypeStrategy

  • All Implemented Interfaces:
    Function<ProfileRequestContext,​com.nimbusds.openid.connect.sdk.SubjectType>

    public class DefaultSubjectTypeStrategy
    extends Object
    implements Function<ProfileRequestContext,​com.nimbusds.openid.connect.sdk.SubjectType>
    Function to decide on subject type. Subject type is located from client's registration data.
    • 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 function to lookup OIDC metadata context .
    • Constructor Detail

      • DefaultSubjectTypeStrategy

        public DefaultSubjectTypeStrategy()
        Constructor.
    • Method Detail

      • setRelyingPartyContextLookupStrategy

        public void setRelyingPartyContextLookupStrategy​(@Nonnull
                                                         Function<ProfileRequestContext,​net.shibboleth.idp.profile.context.RelyingPartyContext> strategy)
        Set the lookup strategy to use to locate the RelyingPartyContext.
        Parameters:
        strategy - lookup function to use
      • setOIDCMetadataContextLookupStrategy

        public void setOIDCMetadataContextLookupStrategy​(@Nonnull
                                                         Function<ProfileRequestContext,​net.shibboleth.oidc.metadata.context.OIDCMetadataContext> strategy)
        Set the lookup strategy to use to locate the OIDCMetadataContext.
        Parameters:
        strategy - lookup function to use