@Deprecated public class FSLogoutResponse extends AbstractResponse
LogoutResponse
.Constructor and Description |
---|
FSLogoutResponse()
Deprecated.
Default Constructor.
|
FSLogoutResponse(Element root)
Deprecated.
Constructor creates
FSLogoutResponse object from
a Document element. |
FSLogoutResponse(String responseID,
String inResponseTo,
Status status,
String providerId,
String relayState)
Deprecated.
Constructor creates
FSLogoutResponse object. |
Modifier and Type | Method and Description |
---|---|
String |
getID()
Deprecated.
Returns the value of
id attribute. |
int |
getMinorVersion()
Deprecated.
Returns the value of
MinorVersion attribute. |
String |
getProviderId()
Deprecated.
Returns the value of
ProviderID attribute. |
String |
getRelayState()
Deprecated.
Returns the value of
RelayState attribute. |
String |
getResponseTo()
Deprecated.
Returns the value of
InResponseTo attribute. |
String |
getSignatureString()
Deprecated.
Returns the Signed
LogoutResponse string. |
Status |
getStatus()
Deprecated.
Returns the Logout
Status . |
static FSLogoutResponse |
parseBASE64EncodedString(String encodedRes)
Deprecated.
Returns
FSLogoutResponse object. |
static FSLogoutResponse |
parseURLEncodedRequest(javax.servlet.http.HttpServletRequest request)
Deprecated.
Returns
FSLogoutResponse object. |
static FSLogoutResponse |
parseXML(String xml)
Deprecated.
Returns the
FSLogoutResponse object. |
void |
setID(String id)
Deprecated.
Sets the value of
id attribute. |
void |
setMinorVersion(int version)
Deprecated.
Sets the value of
MinorVersion attribute. |
void |
setProviderId(String providerId)
Deprecated.
Sets the value of
ProviderID attribute. |
void |
setRelayState(String relayState)
Deprecated.
Set the value of
RelayState attribute. |
void |
setResponseTo(String inResponseTo)
Deprecated.
Sets the value of
InResponseTo attribute. |
boolean |
setSignature(Element elem)
Deprecated.
Sets the Signature.
|
void |
setStatus(Status status)
Deprecated.
Sets the Logout
Status . |
void |
setStatus(String status)
Deprecated.
Sets the Logout
Status . |
void |
signXML()
Deprecated.
Unsupported operation.
|
void |
signXML(String certAlias)
Deprecated.
Signs the
LogoutResponse . |
String |
toBASE64EncodedString()
Deprecated.
Returns a Base64 Encoded String.
|
String |
toURLEncodedQueryString()
Deprecated.
Returns an URL Encoded String.
|
String |
toXMLString()
Deprecated.
Returns a String representation of the
LogoutResponse
object. |
String |
toXMLString(boolean includeNS,
boolean declareNS)
Deprecated.
Returns a String representation of the
LogoutResponse
object. |
String |
toXMLString(boolean includeNS,
boolean declareNS,
boolean includeHeader)
Deprecated.
Returns a String representation of the
LogoutResponse
object. |
getInResponseTo, getIssueInstant, getMajorVersion, getRecipient, getResponseID, getSignature, isSignatureValid, isSigned, setInResponseTo, setIssueInstant, setMajorVersion, setRecipient, setResponseID
public FSLogoutResponse()
public FSLogoutResponse(String responseID, String inResponseTo, Status status, String providerId, String relayState) throws FSMsgException
FSLogoutResponse
object.responseID
- the value of ResponseID
attribute.inResponseTo
- the value of inResponseTo
attribute.status
- the Logout Status
object.providerId
- the value of ProviderID
attribute.relayState
- the value of RelayState
attribute.FSMsgException
- if this object cannot be created.public FSLogoutResponse(Element root) throws FSMsgException, SAMLException
FSLogoutResponse
object from
a Document element.root
- the Document element object.FSMsgException
- if this object cannot be created.SAMLException
- if there is an error.public String getRelayState()
RelayState
attribute.RelayState
attribute.FSLogoutResponse.setRelayState(String)
public void setRelayState(String relayState)
RelayState
attribute.relayState
- the value of RelayState
attribute.FSLogoutResponse.getRelayState()
public String getResponseTo()
InResponseTo
attribute.InResponseTo
attribute.FSLogoutResponse.setResponseTo(String)
public void setResponseTo(String inResponseTo)
InResponseTo
attribute.inResponseTo
- the value of InResponseTo
attribute.FSLogoutResponse.getResponseTo()
public String getID()
id
attribute.id
attribute.FSLogoutResponse.setID(String)
public void setID(String id)
id
attribute.id
- the value of id
attribute.FSLogoutResponse.getID()
public String getProviderId()
ProviderID
attribute.ProviderID
attribute.FSLogoutResponse.setProviderId(String)
public void setProviderId(String providerId)
ProviderID
attribute.providerId
- the value of ProviderID
attribute.FSLogoutResponse.getProviderId()
public String getSignatureString()
LogoutResponse
string.LogoutResponse
string.public int getMinorVersion()
MinorVersion
attribute.getMinorVersion
in class AbstractResponse
MinorVersion
attribute.FSLogoutResponse.setMinorVersion(int)
public void setMinorVersion(int version)
MinorVersion
attribute.setMinorVersion
in class AbstractResponse
version
- thevalue of MinorVersion
attribute.FSLogoutResponse.getMinorVersion()
public Status getStatus()
Status
.Status
.FSLogoutResponse.setStatus(String)
,
FSLogoutResponse.setStatus(Status)
public void setStatus(String status)
Status
.status
- the Logout Status
code.FSLogoutResponse.getStatus()
public void setStatus(Status status)
Status
.status
- the Logout Status
object.FSLogoutResponse.getStatus()
public static FSLogoutResponse parseXML(String xml) throws FSMsgException
FSLogoutResponse
object.xml
- the XML string to be parsed.FSLogoutResponse
object created from the XML string.FSMsgException
- if there is
error creating the object.public String toXMLString() throws FSMsgException
LogoutResponse
object. This method translates the response to an XML string.FSMsgException
public String toXMLString(boolean includeNS, boolean declareNS) throws FSMsgException
LogoutResponse
object.FSMsgException
- if there is an error converting
this object ot a string.public String toXMLString(boolean includeNS, boolean declareNS, boolean includeHeader) throws FSMsgException
LogoutResponse
object.includeNS
- Determines whether or not the namespace qualifier
is prepended to the Element when converteddeclareNS
- Determines whether or not the namespace is declared
within the Element.includeHeader
- Determines whether the output include the xml
declaration header.FSMsgException
- if there is an error converting
this object ot a string.public static FSLogoutResponse parseBASE64EncodedString(String encodedRes) throws FSMsgException, SAMLException
FSLogoutResponse
object. The object
is created by parsing an Base64 encode authentication
request String.encodedRes
- the encode stringFSMsgException
- if there is an error creating this object.SAMLException
- if there is an error creating this object.public String toBASE64EncodedString() throws FSMsgException
FSMsgException
- if there is an error encoding the string.public void signXML()
signXML
in class AbstractResponse
public void signXML(String certAlias) throws SAMLException
LogoutResponse
.certAlias
- the Certificate Alias.SAMLException
- if this object cannot be signed.public boolean setSignature(Element elem)
setSignature
in class AbstractResponse
elem
- the Document Element.public String toURLEncodedQueryString() throws FSMsgException
FSMsgException
- if there is an error.public static FSLogoutResponse parseURLEncodedRequest(javax.servlet.http.HttpServletRequest request) throws FSMsgException, SAMLException
FSLogoutResponse
object. The
object is creating by parsing the HttpServletRequest
object.request
- the HttpServletRequest
object.FSMsgException
- if there is an error creating this object.SAMLException
- if there is an error.Copyright © 2010-2018, ForgeRock All Rights Reserved.