Class LogoutResponseParams

java.lang.Object
org.codelibs.saml2.core.logout.LogoutResponseParams

public class LogoutResponseParams extends Object
Input parameters for a SAML 2 logout response.
  • Constructor Details

    • LogoutResponseParams

      public LogoutResponseParams()
      Creates a logout response with no inResponseTo attribute and a response status with a top-level Constants.STATUS_SUCCESS status code.
    • LogoutResponseParams

      public LogoutResponseParams(String inResponseTo)
      Creates a logout response with a response status with a top-level Constants.STATUS_SUCCESS status code.
      Parameters:
      inResponseTo - the id of the logout request the response refers to; may be null if such id cannot be determined (possibly because the request is malformed)
    • LogoutResponseParams

      public LogoutResponseParams(String inResponseTo, String statusCode)
      Creates a logout response.
      Parameters:
      inResponseTo - the id of the logout request the response refers to; may be null if such id cannot be determined (possibly because the request is malformed)
      statusCode - the top-level status code code to set on the response
    • LogoutResponseParams

      public LogoutResponseParams(String inResponseTo, SamlResponseStatus responseStatus)
      Creates a logout response.
      Parameters:
      inResponseTo - the id of the logout request the response refers to; may be null if such id cannot be determined (possibly because the request is malformed)
      responseStatus - the response status; should not be null
    • LogoutResponseParams

      protected LogoutResponseParams(LogoutResponseParams source)
      Create a set of logout request input parameters, by copying them from another set.
      Parameters:
      source - the source set of logout request input parameters
  • Method Details

    • getResponseStatus

      public SamlResponseStatus getResponseStatus()
      Returns the response status.
      Returns:
      the response status
    • getInResponseTo

      public String getInResponseTo()
      Returns the id of the logout request this response refers to.
      Returns:
      the inResponseTo