Class InitializeRegistrationMetadataPolicyContext

    • Constructor Detail

      • InitializeRegistrationMetadataPolicyContext

        public InitializeRegistrationMetadataPolicyContext()
        Constructor.
    • Method Detail

      • setProfileMetadataPolicyLookupStrategy

        public void setProfileMetadataPolicyLookupStrategy​(@Nonnull
                                                           Function<ProfileRequestContext,​Map<String,​net.shibboleth.oidc.metadata.policy.MetadataPolicy>> strategy)
        Set the strategy used to locate the request metadata policy configured for the profile.
        Parameters:
        strategy - What to set.
      • setTokenMetadataPolicyLookupStrategy

        public void setTokenMetadataPolicyLookupStrategy​(@Nonnull
                                                         Function<ProfileRequestContext,​Map<String,​net.shibboleth.oidc.metadata.policy.MetadataPolicy>> strategy)
        Set the strategy used to locate the request metadata policy encoded in the access token.
        Parameters:
        strategy - What to set.
      • setMetadataPolicyMergingStrategy

        public void setMetadataPolicyMergingStrategy​(@Nonnull
                                                     BiFunction<Map<String,​net.shibboleth.oidc.metadata.policy.MetadataPolicy>,​Map<String,​net.shibboleth.oidc.metadata.policy.MetadataPolicy>,​Pair<Map<String,​net.shibboleth.oidc.metadata.policy.MetadataPolicy>,​Boolean>> strategy)
        Set the strategy used for merging profile and token based metadata policies.
        Parameters:
        strategy - What to set.
      • setMetadataPolicyValidationStrategy

        public void setMetadataPolicyValidationStrategy​(@Nonnull
                                                        Predicate<Map<String,​net.shibboleth.oidc.metadata.policy.MetadataPolicy>> strategy)
        Set the strategy used for validating token and merged metadata policies.
        Parameters:
        strategy - What to set.