Class Saml2AuthenticationRequestContext.Builder

    • Method Detail

      • issuer

        public Saml2AuthenticationRequestContext.Builder issuer​(java.lang.String issuer)
        Sets the issuer for the authentication request.
        Parameters:
        issuer - - a required value
        Returns:
        this Builder
      • assertionConsumerServiceUrl

        public Saml2AuthenticationRequestContext.Builder assertionConsumerServiceUrl​(java.lang.String assertionConsumerServiceUrl)
        Sets the assertionConsumerServiceURL for the authentication request. Typically the Service Provider EntityID
        Parameters:
        assertionConsumerServiceUrl - - a required value
        Returns:
        this Builder
      • relayState

        public Saml2AuthenticationRequestContext.Builder relayState​(java.lang.String relayState)
        Sets the RelayState parameter that will accompany this AuthNRequest
        Parameters:
        relayState - the relay state value, unencoded. if null or empty, the parameter will be removed from the map.
        Returns:
        this object