Class LogoutResponseImpl
- java.lang.Object
-
- com.sun.identity.saml2.protocol.impl.StatusResponseImpl
-
- com.sun.identity.saml2.protocol.impl.LogoutResponseImpl
-
- All Implemented Interfaces:
LogoutResponse,StatusResponse
public class LogoutResponseImpl extends StatusResponseImpl implements LogoutResponse
This class implements theLogoutResponseelement in SAML protocol schema. It provides all the methods required byLogoutResponse
-
-
Field Summary
-
Fields inherited from class com.sun.identity.saml2.protocol.impl.StatusResponseImpl
consent, destination, extensions, inResponseTo, isMutable, isSignatureValid, isSigned, issueInstant, issuer, publicKey, responseId, signatureString, signedXMLString, status, version
-
-
Constructor Summary
Constructors Constructor Description LogoutResponseImpl()Constructs theLogoutResponseObject.LogoutResponseImpl(String xmlString)Constructs theLogoutResponseObject.LogoutResponseImpl(Element element)Constructs theLogoutResponseObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisMutable()Returns true if object is mutable.voidmakeImmutable()Makes this object immutable.StringtoXMLString()Returns theLogoutResponsein an XML document String format based on theLogoutResponseschema described above.StringtoXMLString(boolean includeNSPrefix, boolean declareNS)Returns theLogoutResponsein an XML document String format based on theLogoutResponseschema described above.-
Methods inherited from class com.sun.identity.saml2.protocol.impl.StatusResponseImpl
getConsent, getDestination, getExtensions, getID, getInResponseTo, getIssueInstant, getIssuer, getSignature, getStatus, getVersion, isSignatureValid, isSigned, setConsent, setDestination, setExtensions, setID, setInResponseTo, setIssueInstant, setIssuer, setStatus, setVersion, sign, validateData, validateID, validateIssueInstant, validateStatus, validateVersion
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sun.identity.saml2.protocol.StatusResponse
getConsent, getDestination, getExtensions, getID, getInResponseTo, getIssueInstant, getIssuer, getSignature, getStatus, getVersion, isSignatureValid, isSigned, setConsent, setDestination, setExtensions, setID, setInResponseTo, setIssueInstant, setIssuer, setStatus, setVersion, sign
-
-
-
-
Constructor Detail
-
LogoutResponseImpl
public LogoutResponseImpl()
Constructs theLogoutResponseObject.
-
LogoutResponseImpl
public LogoutResponseImpl(Element element) throws SAML2Exception
Constructs theLogoutResponseObject.- Parameters:
element- the Document Element ofLogoutResponseobject.- Throws:
SAML2Exception- ifLogoutResponsecannot be created.
-
LogoutResponseImpl
public LogoutResponseImpl(String xmlString) throws SAML2Exception
Constructs theLogoutResponseObject.- Parameters:
xmlString- the XML String representation of this object.- Throws:
SAML2Exception- ifLogoutResponsecannot be created.
-
-
Method Detail
-
toXMLString
public String toXMLString() throws SAML2Exception
Returns theLogoutResponsein an XML document String format based on theLogoutResponseschema described above.- Specified by:
toXMLStringin interfaceStatusResponse- Overrides:
toXMLStringin classStatusResponseImpl- Returns:
- An XML String representing the
LogoutResponse. - Throws:
SAML2Exception- if some error occurs during conversion toString.
-
toXMLString
public String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
Returns theLogoutResponsein an XML document String format based on theLogoutResponseschema described above.- Specified by:
toXMLStringin interfaceStatusResponse- Overrides:
toXMLStringin classStatusResponseImpl- Parameters:
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.- Returns:
- A XML String representing the
LogoutResponse. - Throws:
SAML2Exception- if some error occurs during conversion toString.
-
makeImmutable
public void makeImmutable()
Makes this object immutable.- Specified by:
makeImmutablein interfaceStatusResponse- Overrides:
makeImmutablein classStatusResponseImpl
-
isMutable
public boolean isMutable()
Returns true if object is mutable.- Specified by:
isMutablein interfaceStatusResponse- Overrides:
isMutablein classStatusResponseImpl- Returns:
- true if object is mutable.
-
-