@Deprecated public class FSFederationTerminationNotification extends AbstractRequest
Modifier and Type | Field and Description |
---|---|
protected String |
id
Deprecated.
|
protected String |
signatureString
Deprecated.
|
protected String |
xmlString
Deprecated.
|
issueInstant, majorVersion, minorVersion, requestID, respondWiths, signature, signed, valid
Constructor and Description |
---|
FSFederationTerminationNotification()
Deprecated.
Default Constructor.
|
FSFederationTerminationNotification(Element root)
Deprecated.
Creates
FSFederationTerminationNotification |
FSFederationTerminationNotification(String requestId,
String providerID,
NameIdentifier nameId)
Deprecated.
Creates
FSFederationTerminationNotification 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. |
NameIdentifier |
getNameIdentifier()
Deprecated.
Returns the
NameIdentifier object. |
String |
getProviderId()
Deprecated.
Returns the value of
ProviderID attribute. |
String |
getRelayState()
Deprecated.
Returns the value of
RelayState attribute. |
static FSFederationTerminationNotification |
parseURLEncodedRequest(javax.servlet.http.HttpServletRequest request)
Deprecated.
Returns
FSFederationTerminationNotification object. |
static FSFederationTerminationNotification |
parseXML(String xml)
Deprecated.
Returns the
FSAuthnRequest object. |
void |
setID(String id)
Deprecated.
Sets the value of
id attribute. |
void |
setMinorVersion(int version)
Deprecated.
Sets the value of
MinorVersion attribute. |
void |
setNameIdentifier(NameIdentifier nameId)
Deprecated.
Sets the
NameIdentifier object. |
void |
setProviderId(String providerID)
Deprecated.
Sets the value of
ProviderID attribute. |
void |
setRelayState(String relayState)
Deprecated.
Set the value of
RelayState attribute. |
boolean |
setSignature(Element elem)
Deprecated.
Sets the
Element signature. |
void |
signXML()
Deprecated.
Unsupported operation.
|
void |
signXML(String certAlias)
Deprecated.
Signs the
FSFederationTerminationNotification . |
String |
toBASE64EncodedString()
Deprecated.
Returns a
Base64 encoded string representing this
object. |
String |
toURLEncodedQueryString()
Deprecated.
Returns an
URL encoded query string. |
String |
toXMLString()
Deprecated.
Returns the string representation of this object.
|
String |
toXMLString(boolean includeNS,
boolean declareNS)
Deprecated.
Returns the string representation of this object.
|
String |
toXMLString(boolean includeNS,
boolean declareNS,
boolean includeHeader)
Deprecated.
Returns a String representation of the <samlp:Response> element.
|
addRespondWith, getIssueInstant, getMajorVersion, getRequestID, getRespondWith, getSignature, isSignatureValid, isSigned, setIssueInstant, setMajorVersion, setRequestID
protected String xmlString
protected String signatureString
protected String id
public FSFederationTerminationNotification()
public FSFederationTerminationNotification(Element root) throws FSMsgException
FSFederationTerminationNotification
root
- the Document Element.FSMsgException
- if there is an error creating
this object.public FSFederationTerminationNotification(String requestId, String providerID, NameIdentifier nameId) throws FSMsgException
FSFederationTerminationNotification
object.requestId
- the request identifier.providerID
- the provider identifier.nameId
- the NameIdentifier
object.FSMsgException
- if there is an error creating
this object.public String toXMLString(boolean includeNS, boolean declareNS) throws FSMsgException
FSMsgException
- if there is an error converting
this object ot a string.public String toXMLString(boolean includeNS, boolean declareNS, boolean includeHeader) throws FSMsgException
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 String toXMLString() throws FSMsgException
FSMsgException
public static FSFederationTerminationNotification parseXML(String xml) throws FSMsgException
FSAuthnRequest
object.xml
- the XML string to be parsed.FSAuthnRequest
object created from the XML string.FSMsgException
- if there is
error creating the object.public String getID()
id
attribute.id
attribute.setID(String)
public void setID(String id)
id
attribute.id
- the value of id
attribute.getID()
public void setRelayState(String relayState)
RelayState
attribute.relayState
- the value of RelayState
attribute.getRelayState()
public String getRelayState()
RelayState
attribute.RelayState
attribute.setRelayState(String)
public int getMinorVersion()
MinorVersion
attribute.getMinorVersion
in class AbstractRequest
MinorVersion
attribute.setMinorVersion(int)
public void setMinorVersion(int version)
MinorVersion
attribute.setMinorVersion
in class AbstractRequest
version
- the value of MinorVersion
attribute.getMinorVersion()
public String getProviderId()
ProviderID
attribute.ProviderID
attribute.setProviderId(String).
public void setProviderId(String providerID)
ProviderID
attribute.providerID
- the value of ProviderID
attribute.getProviderId()
public NameIdentifier getNameIdentifier()
NameIdentifier
object.NameIdentifier
object.public void setNameIdentifier(NameIdentifier nameId)
NameIdentifier
object.nameId
- the NameIdentifier
object.public String toURLEncodedQueryString() throws FSMsgException
URL
encoded query string.URL
encoded query string.FSMsgException
- if there is an error.public String toBASE64EncodedString() throws FSMsgException
Base64
encoded string representing this
object.Base64
encoded string representing this
object.FSMsgException
- if there is an error creating
a Base64
encoded string.public static FSFederationTerminationNotification parseURLEncodedRequest(javax.servlet.http.HttpServletRequest request) throws FSMsgException, SAMLException
FSFederationTerminationNotification
object. The
object is creating by parsing the HttpServletRequest
object.request
- the HttpServletRequest
object.FSMsgException
- if there is an error
creating FSFederationTerminationNotification
object.SAMLException
public void signXML() throws SAMLException
signXML
in class AbstractRequest
SAMLException
- If could not sign the object.public void signXML(String certAlias) throws SAMLException
FSFederationTerminationNotification
.
objectcertAlias
- the Certificate AliasSAMLException
- if
FSFederationTerminationNotification
cannot be signed.public boolean setSignature(Element elem)
Element
signature.setSignature
in class AbstractRequest
elem
- the Element
objectCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.