java.lang.Object
org.codelibs.saml2.core.logout.LogoutResponseParams
Input parameters for a SAML 2 logout response.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionCreates a logout response with noinResponseToattribute and a response status with a top-levelConstants.STATUS_SUCCESSstatus code.LogoutResponseParams(String inResponseTo) Creates a logout response with a response status with a top-levelConstants.STATUS_SUCCESSstatus code.LogoutResponseParams(String inResponseTo, String statusCode) Creates a logout response.LogoutResponseParams(String inResponseTo, SamlResponseStatus responseStatus) Creates a logout response.protectedCreate a set of logout request input parameters, by copying them from another set. -
Method Summary
Modifier and TypeMethodDescriptionReturns the id of the logout request this response refers to.Returns the response status.
-
Constructor Details
-
LogoutResponseParams
public LogoutResponseParams()Creates a logout response with noinResponseToattribute and a response status with a top-levelConstants.STATUS_SUCCESSstatus code. -
LogoutResponseParams
Creates a logout response with a response status with a top-levelConstants.STATUS_SUCCESSstatus code.- Parameters:
inResponseTo- the id of the logout request the response refers to; may benullif such id cannot be determined (possibly because the request is malformed)
-
LogoutResponseParams
Creates a logout response.- Parameters:
inResponseTo- the id of the logout request the response refers to; may benullif such id cannot be determined (possibly because the request is malformed)statusCode- the top-level status code code to set on the response
-
LogoutResponseParams
Creates a logout response.- Parameters:
inResponseTo- the id of the logout request the response refers to; may benullif such id cannot be determined (possibly because the request is malformed)responseStatus- the response status; should not benull
-
LogoutResponseParams
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
Returns the response status.- Returns:
- the response status
-
getInResponseTo
Returns the id of the logout request this response refers to.- Returns:
- the
inResponseTo
-