Class AbstractAssertionValidationParametersBuilder<T extends AbstractAssertionValidationParametersBuilder<T>>

    • Constructor Detail

      • AbstractAssertionValidationParametersBuilder

        public AbstractAssertionValidationParametersBuilder()
    • Method Detail

      • responseIssueInstant

        public T responseIssueInstant​(Long instant)
        Assigns the issue instant from the Response message that contained the assertion being validated.
        Parameters:
        instant - the response issue instant
        Returns:
        the builder
      • validRecipients

        public T validRecipients​(String... recipients)
        Assigns the valid URLs for the intended recipients.
        Parameters:
        recipients - one or more URLs
        Returns:
        the builder
      • validAddresses

        public T validAddresses​(InetAddress... addresses)
        Assigns the valid addresses that we allow the user agent to have.
        Parameters:
        addresses - one or more IP addresses
        Returns:
        the builder
      • validAudiences

        public T validAudiences​(String... audiences)
        Assigns the entityID:s of the valid audiences.
        Parameters:
        audiences - the audiences
        Returns:
        the builder
      • authnRequestForceAuthn

        public T authnRequestForceAuthn​(Boolean forceAuthn)
        Assigns the ForceAuthn flag from the corresponding AuthnRequest.
        Parameters:
        forceAuthn - true/false
        Returns:
        the builder
      • authnRequestIssueInstant

        public T authnRequestIssueInstant​(Long issueInstant)
        Assigns the issuance time for the corresponding AuthnRequest when validating an assertion.
        Parameters:
        issueInstant - issue time (in milliseconds since epoch)
        Returns:
        the builder
      • maxAcceptedSsoSessionTime

        public T maxAcceptedSsoSessionTime​(Long duration)
        Assigns the maximum session time that we, as a SP, can accept when receiving assertions based on older authentications (SSO).
        Parameters:
        duration - milliseconds
        Returns:
        the builder