public class LogoutRequestImpl extends RequestAbstractImpl implements LogoutRequest
LogoutRequest
element in
SAML protocol schema.
It provides all the methods required by LogoutRequest
consent, destinationURI, elementName, extensions, isMutable, isSignatureValid, isSigned, issueInstant, nameID, publicKey, requestId, signatureString, signedXMLString, version
Constructor and Description |
---|
LogoutRequestImpl()
Constructs the
LogoutRequest Object. |
LogoutRequestImpl(Element element)
Constructs the
LogoutRequest Object. |
LogoutRequestImpl(String xmlString)
Constructs the
LogoutRequest Object. |
Modifier and Type | Method and Description |
---|---|
BaseID |
getBaseID()
Returns the value of the baseID property.
|
EncryptedID |
getEncryptedID()
Returns the value of the encryptedID property.
|
NameID |
getNameID()
Returns the value of the nameID property.
|
Date |
getNotOnOrAfter()
Returns the value of the notOnOrAfter property.
|
String |
getReason()
Returns the value of the reason property.
|
List |
getSessionIndex()
Returns the value of the SessionIndex property.
|
boolean |
isMutable()
Returns true if object is mutable.
|
void |
makeImmutable()
Makes this object immutable.
|
void |
setBaseID(BaseID value)
Sets the value of the baseID property.
|
void |
setEncryptedID(EncryptedID value)
Sets the value of the encryptedID property.
|
void |
setNameID(NameID value)
Sets the value of the nameID property.
|
void |
setNotOnOrAfter(Date value)
Sets the value of the notOnOrAfter property.
|
void |
setReason(String value)
Sets the value of the reason property.
|
void |
setSessionIndex(List sessionIndexList)
Sets the value of the SessionIndex property.
|
String |
toXMLString()
Returns the
LogoutRequest in an XML document String format
based on the LogoutRequest schema described above. |
String |
toXMLString(boolean includeNSPrefix,
boolean declareNS)
Returns the
LogoutRequest in an XML document String format
based on the LogoutRequest schema described above. |
getAttributesString, getConsent, getDestination, getElements, getExtensions, getID, getIssueInstant, getIssuer, getSignature, getVersion, getXMLString, isSignatureValid, isSigned, parseDOMAttributes, parseDOMChileElements, parseDOMElement, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion, sign, validateData, validateID, validateIssueInstant, validateVersion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getSignature, getVersion, isSignatureValid, isSigned, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion, sign
public LogoutRequestImpl()
LogoutRequest
Object.public LogoutRequestImpl(Element element) throws SAML2Exception
LogoutRequest
Object.element
- the Document Element of LogoutRequest
object.SAML2Exception
- if LogoutRequest
cannot be created.public LogoutRequestImpl(String xmlString) throws SAML2Exception
LogoutRequest
Object.xmlString
- the XML String representation of this object.SAML2Exception
- if LogoutRequest
cannot be created.public Date getNotOnOrAfter()
getNotOnOrAfter
in interface LogoutRequest
java.util.Date
value of the notOnOrAfter propertysetNotOnOrAfter(Date)
public void setNotOnOrAfter(Date value) throws SAML2Exception
setNotOnOrAfter
in interface LogoutRequest
value
- java.util.Date
value of the notOnOrAfter
property to be setSAML2Exception
- if the object is immutablegetNotOnOrAfter()
public String getReason()
getReason
in interface LogoutRequest
String
value of the reason propertysetReason(String)
public void setReason(String value) throws SAML2Exception
setReason
in interface LogoutRequest
value
- String
value of the reason property to be setSAML2Exception
- if the object is immutablegetReason()
public EncryptedID getEncryptedID()
getEncryptedID
in interface LogoutRequest
setEncryptedID(EncryptedID)
public void setEncryptedID(EncryptedID value) throws SAML2Exception
setEncryptedID
in interface LogoutRequest
value
- the value of the encryptedID property to be setSAML2Exception
- if the object is immutablegetEncryptedID()
public NameID getNameID()
getNameID
in interface LogoutRequest
setNameID(NameID)
public void setNameID(NameID value) throws SAML2Exception
setNameID
in interface LogoutRequest
value
- the value of the nameID property to be setSAML2Exception
- if the object is immutablegetNameID()
public BaseID getBaseID()
getBaseID
in interface LogoutRequest
setBaseID(BaseID)
public void setBaseID(BaseID value) throws SAML2Exception
setBaseID
in interface LogoutRequest
value
- the value of the baseID property to be setSAML2Exception
- if the object is immutablegetBaseID()
public List getSessionIndex()
getSessionIndex
in interface LogoutRequest
java.lang.String
setSessionIndex(List)
public void setSessionIndex(List sessionIndexList) throws SAML2Exception
setSessionIndex
in interface LogoutRequest
sessionIndexList
- A list containing objects of type java.lang.String
SAML2Exception
- if the object is immutablegetSessionIndex()
public String toXMLString() throws SAML2Exception
LogoutRequest
in an XML document String format
based on the LogoutRequest
schema described above.toXMLString
in interface RequestAbstract
toXMLString
in class RequestAbstractImpl
LogoutRequest
.SAML2Exception
- if some error occurs during conversion to
String
.public String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
LogoutRequest
in an XML document String format
based on the LogoutRequest
schema described above.toXMLString
in interface RequestAbstract
toXMLString
in class RequestAbstractImpl
includeNSPrefix
- 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.LogoutRequest
.SAML2Exception
- if some error occurs during conversion to
String
.public void makeImmutable()
makeImmutable
in interface RequestAbstract
makeImmutable
in class RequestAbstractImpl
public boolean isMutable()
isMutable
in interface RequestAbstract
isMutable
in class RequestAbstractImpl
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.