Class Saml2LogoutResponse


  • public final class Saml2LogoutResponse
    extends java.lang.Object
    A class that represents a signed and serialized SAML 2.0 Logout Response
    Since:
    5.6
    • Method Detail

      • getResponseLocation

        public java.lang.String getResponseLocation()
        Get the response location of the asserting party's SingleLogoutService
        Returns:
        the SingleLogoutService response location
      • getSamlResponse

        public java.lang.String getSamlResponse()
        Get the signed and serialized <saml2:LogoutResponse> payload
        Returns:
        the signed and serialized <saml2:LogoutResponse> payload
      • getRelayState

        public java.lang.String getRelayState()
        The relay state associated with this Logout Request
        Returns:
        the relay state
      • getParameter

        public java.lang.String getParameter​(java.lang.String name)
        Get the name parameter, a short-hand for getParameters().get(name) Useful when specifying additional query parameters for the Logout Response
        Parameters:
        name - the parameter's name
        Returns:
        the parameter's value
      • getParameters

        public java.util.Map<java.lang.String,​java.lang.String> getParameters()
        Get all parameters Useful when specifying additional query parameters for the Logout Response
        Returns:
        the Logout Response query parameters