Class SSOSProfileConfiguration

    • Constructor Detail

      • SSOSProfileConfiguration

        public SSOSProfileConfiguration()
        Constructor.
      • SSOSProfileConfiguration

        protected SSOSProfileConfiguration​(@Nonnull @NotEmpty
                                           String profileId)
        Constructor.
        Parameters:
        profileId - unique ID for this profile
    • Method Detail

      • isDelegation

        public boolean isDelegation​(@Nullable
                                    ProfileRequestContext profileRequestContext)
        Get whether a delegated token presented to the IdP by another non-user entity may be used to complete SAML 2 SSO to this relying party.
        Parameters:
        profileRequestContext - current profile request context
        Returns:
        suitability of token for delegated authentication
      • setDelegation

        public void setDelegation​(boolean flag)
        Set whether a delegated token presented to the IdP by another non-user entity may be used to complete SAML 2 SSO to this relying party.
        Parameters:
        flag - flag to set
      • setDelegationPredicate

        public void setDelegationPredicate​(@Nonnull
                                           Predicate<ProfileRequestContext> predicate)
        Sets the predicate used to determine whether a delegated token presented to the IdP by another non-user entity may be used to complete SAML 2 SSO to this relying party.
        Parameters:
        predicate - the new delegation predicate