Class FSLogoutNotification
- java.lang.Object
-
- com.sun.identity.saml.protocol.AbstractRequest
-
- com.sun.identity.federation.message.FSLogoutNotification
-
@Deprecated public class FSLogoutNotification extends AbstractRequest
Deprecated.since 12.0.0This class contains methods to construct aLogoutRequestobject.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringidDeprecated.protected DatenotOnOrAfterDeprecated.protected StringsessionIndexDeprecated.protected StringsignatureStringDeprecated.protected StringxmlStringDeprecated.-
Fields inherited from class com.sun.identity.saml.protocol.AbstractRequest
issueInstant, majorVersion, minorVersion, requestID, respondWiths, signature, signed, valid
-
-
Constructor Summary
Constructors Constructor Description FSLogoutNotification()Deprecated.Default Constructor.FSLogoutNotification(String requestId, String providerID, NameIdentifier nameId, String relayState)Deprecated.Consturctor createsFSLogoutNotificationobject.FSLogoutNotification(Element root)Deprecated.Constructor createsFSLogoutNotificationobject from Document Element.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetID()Deprecated.Returns the value ofidattribute.intgetMinorVersion()Deprecated.Returns the value ofMinorVersionattribute.NameIdentifiergetNameIdentifier()Deprecated.Returns theNameIdentifierobject.StringgetProviderId()Deprecated.Returns value ofProviderIDattribute.StringgetRelayState()Deprecated.Returns the value ofRelayStateattribute.StringgetSessionIndex()Deprecated.Returns value ofSessionIndexattribute.StringgetSignatureString()Deprecated.Returns a signedXMLstring.static FSLogoutNotificationparseURLEncodedRequest(jakarta.servlet.http.HttpServletRequest request)Deprecated.ReturnsFSLogoutNotificationobject.static FSLogoutNotificationparseXML(String xml)Deprecated.Constructor createFSLogoutNotificationfrom aXMLstring.voidsetID(String id)Deprecated.Sets the value ofidattribute.voidsetMinorVersion(int version)Deprecated.Sets the value ofMinorVersionattribute.voidsetNameIdentifier(NameIdentifier nameId)Deprecated.Sets theNameIdentifierobject.voidsetProviderId(String providerID)Deprecated.Sets value ofProviderIDattribute.voidsetRelayState(String relayState)Deprecated.Sets the value ofRelayStateattribute.voidsetSessionIndex(String sessionIndex)Deprecated.Sets value ofSessionIndexattribute.booleansetSignature(Element elem)Deprecated.Sets theElementsignature.voidsignXML()Deprecated.Unsupported operation.voidsignXML(String certAlias)Deprecated.Signs theFSLogoutNotificationobject.StringtoBASE64EncodedString()Deprecated.Returns a Base64 Encoded String.StringtoURLEncodedQueryString()Deprecated.Returns an URL Encoded String.StringtoXMLString()Deprecated.Returns the string representation of this object.StringtoXMLString(boolean includeNS, boolean declareNS)Deprecated.Returns the string representation of this object.StringtoXMLString(boolean includeNS, boolean declareNS, boolean includeHeader)Deprecated.Returns the string representation of this object.-
Methods inherited from class com.sun.identity.saml.protocol.AbstractRequest
addRespondWith, getIssueInstant, getMajorVersion, getRequestID, getRespondWith, getSignature, isSignatureValid, isSigned, setIssueInstant, setMajorVersion, setRequestID
-
-
-
-
Constructor Detail
-
FSLogoutNotification
public FSLogoutNotification()
Deprecated.Default Constructor.
-
FSLogoutNotification
public FSLogoutNotification(Element root) throws FSMsgException
Deprecated.Constructor createsFSLogoutNotificationobject from Document Element.- Parameters:
root- the Document Element object.- Throws:
FSMsgException- if there is an error creating this object.
-
FSLogoutNotification
public FSLogoutNotification(String requestId, String providerID, NameIdentifier nameId, String relayState) throws FSMsgException
Deprecated.Consturctor createsFSLogoutNotificationobject.- Parameters:
requestId- theRequestIdattribute.providerID- theProviderIDattribute.nameId- theNameIdentifierobject.relayState- theRelayStateattribute.- Throws:
FSMsgException- if there is an error creating this object.
-
-
Method Detail
-
getID
public String getID()
Deprecated.Returns the value ofidattribute.- Returns:
- the value of
idattribute. - See Also:
setID(String)
-
setID
public void setID(String id)
Deprecated.Sets the value ofidattribute.- Parameters:
id- the value ofidattribute.- See Also:
getID()
-
setRelayState
public void setRelayState(String relayState)
Deprecated.Sets the value ofRelayStateattribute.- Parameters:
relayState- the value ofRelayStateattribute.
-
getRelayState
public String getRelayState()
Deprecated.Returns the value ofRelayStateattribute.- Returns:
- the value of
RelayStateattribute.
-
getSignatureString
public String getSignatureString()
Deprecated.Returns a signedXMLstring.- Returns:
- a signed
XMLstring.
-
getMinorVersion
public int getMinorVersion()
Deprecated.Returns the value ofMinorVersionattribute.- Overrides:
getMinorVersionin classAbstractRequest- Returns:
- the value of
MinorVersionattribute. - See Also:
setMinorVersion(int)
-
setMinorVersion
public void setMinorVersion(int version)
Deprecated.Sets the value ofMinorVersionattribute.- Overrides:
setMinorVersionin classAbstractRequest- Parameters:
version- the value ofMinorVersionattribute.- See Also:
getMinorVersion()
-
toXMLString
public String toXMLString(boolean includeNS, boolean declareNS) throws FSMsgException
Deprecated.Returns the string representation of this object.- Parameters:
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.- Returns:
- a string containing the valid
XMLfor this element - Throws:
FSMsgException- if there is an error creatingXMLstring from this object.
-
toXMLString
public String toXMLString(boolean includeNS, boolean declareNS, boolean includeHeader) throws FSMsgException
Deprecated.Returns the string representation of this object.- Parameters:
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.- Returns:
- a string containing the valid
XMLfor this element - Throws:
FSMsgException- if there is an error creatingXMLstring from this object.
-
toXMLString
public String toXMLString() throws FSMsgException
Deprecated.Returns the string representation of this object.- Returns:
- a string containing the valid
XMLfor this element - Throws:
FSMsgException- if there is an error creatingXMLstring from this object.
-
parseXML
public static FSLogoutNotification parseXML(String xml) throws FSMsgException
Deprecated.Constructor createFSLogoutNotificationfrom aXMLstring.- Parameters:
xml- theXMLstring.- Throws:
FSMsgException- if there is an error creating this object.
-
getProviderId
public String getProviderId()
Deprecated.Returns value ofProviderIDattribute.- Returns:
- value of
ProviderIDattribute. - See Also:
setProviderId(String)
-
setProviderId
public void setProviderId(String providerID)
Deprecated.Sets value ofProviderIDattribute.- Parameters:
providerID- value ofProviderIDattribute.- See Also:
getProviderId()
-
getSessionIndex
public String getSessionIndex()
Deprecated.Returns value ofSessionIndexattribute.- Returns:
- value of
SessionIndexattribute. - See Also:
setSessionIndex(String)
-
setSessionIndex
public void setSessionIndex(String sessionIndex)
Deprecated.Sets value ofSessionIndexattribute.- Parameters:
sessionIndex- value ofSessionIndexattribute.- See Also:
getSessionIndex()
-
getNameIdentifier
public NameIdentifier getNameIdentifier()
Deprecated.Returns theNameIdentifierobject.- Returns:
- the
NameIdentifierobject. - See Also:
setNameIdentifier(NameIdentifier)
-
setNameIdentifier
public void setNameIdentifier(NameIdentifier nameId)
Deprecated.Sets theNameIdentifierobject.- Parameters:
nameId- theNameIdentifierobject.- See Also:
getNameIdentifier()
-
toURLEncodedQueryString
public String toURLEncodedQueryString() throws FSMsgException
Deprecated.Returns an URL Encoded String.- Returns:
- a url encoded query string.
- Throws:
FSMsgException- if there is an error.
-
toBASE64EncodedString
public String toBASE64EncodedString() throws FSMsgException
Deprecated.Returns a Base64 Encoded String.- Returns:
- a Base64 Encoded String.
- Throws:
FSMsgException- if there is an error encoding the string.
-
parseURLEncodedRequest
public static FSLogoutNotification parseURLEncodedRequest(jakarta.servlet.http.HttpServletRequest request) throws FSMsgException
Deprecated.ReturnsFSLogoutNotificationobject. The object is created by parsing theHttpServletRequestobject.- Parameters:
request- theHttpServletRequestobject.- Returns:
FSLogoutNotificationobject.- Throws:
FSMsgException- if there is an error creatingFSAuthnRequestobject.
-
signXML
public void signXML() throws SAMLExceptionDeprecated.Unsupported operation.- Specified by:
signXMLin classAbstractRequest- Throws:
SAMLException- If could not sign the object.
-
signXML
public void signXML(String certAlias) throws SAMLException
Deprecated.Signs theFSLogoutNotificationobject.- Parameters:
certAlias- the Certificate Alias- Throws:
SAMLException- ifFSFederationTerminationNotificationcannot be signed.
-
setSignature
public boolean setSignature(Element elem)
Deprecated.Sets theElementsignature.- Overrides:
setSignaturein classAbstractRequest- Parameters:
elem- theElementobject- Returns:
- true if signature is set otherwise false
-
-