Class Saml2LogoutRequest.Builder

  • Enclosing class:
    Saml2LogoutRequest

    public static final class Saml2LogoutRequest.Builder
    extends java.lang.Object
    • Method Detail

      • samlRequest

        public Saml2LogoutRequest.Builder samlRequest​(java.lang.String samlRequest)
        Use this signed and serialized and Base64-encoded <saml2:LogoutRequest> Note that if using the Redirect binding, the value should be deflated and then Base64-encoded. It should not be URL-encoded as this will be done when the request is sent
        Parameters:
        samlRequest - the <saml2:LogoutRequest> to use
        Returns:
        the Saml2LogoutRequest.Builder for further configurations
        See Also:
        Saml2LogoutRequestResolver
      • location

        public Saml2LogoutRequest.Builder location​(java.lang.String location)
        Use this location for the SAML 2.0 logout endpoint By default, the asserting party's endpoint is used
        Parameters:
        location - the SAML 2.0 location to use
        Returns:
        the Saml2LogoutRequest.Builder for further configurations
      • relayState

        public Saml2LogoutRequest.Builder relayState​(java.lang.String relayState)
        Use this value for the relay state when sending the Logout Request to the asserting party It should not be URL-encoded as this will be done when the request is sent
        Parameters:
        relayState - the relay state
        Returns:
        the Saml2LogoutRequest.Builder for further configurations
      • parameters

        public Saml2LogoutRequest.Builder parameters​(java.util.function.Consumer<java.util.Map<java.lang.String,​java.lang.String>> parametersConsumer)
        Use this Consumer to modify the set of query parameters No parameter should be URL-encoded as this will be done when the request is sent
        Parameters:
        parametersConsumer - the Consumer
        Returns:
        the Saml2LogoutRequest.Builder for further configurations