|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.identity.saml.protocol.AbstractResponse
This AbstractResponse
class is an abstract base class for all
SAML Response in samlp namespace. It corresponds to ResponseAbstractType in
SAML protocol schema.
Method Summary | |
java.lang.String |
getInResponseTo()
Gets the InResponseTo of the Response. |
java.util.Date |
getIssueInstant()
Gets the IssueInstant of the Response. |
int |
getMajorVersion()
Gets the MajorVersion of the Response. |
int |
getMinorVersion()
Gets the MinorVersion of the Response. |
java.lang.String |
getRecipient()
Gets the recipient of the Response. |
java.lang.String |
getResponseID()
Gets the ResponseID of the Response. |
org.w3c.dom.Element |
getSignature()
Gets the signature of the Response. |
boolean |
isSignatureValid()
Return whether the signature on the object is valid or not. |
boolean |
isSigned()
Return whether the object is signed or not. |
boolean |
setInResponseTo(java.lang.String inResponseTo)
Set the InResponseTo of the Response. |
boolean |
setIssueInstant(java.util.Date issueInstant)
Set the IssueInstant of the Response. |
boolean |
setRecipient(java.lang.String recipient)
Set the Recipient attribute of the Response. |
boolean |
setResponseID(java.lang.String responseID)
Set the ResponseID of the Response. |
boolean |
setSignature(org.w3c.dom.Element elem)
Set the signature for the Response. |
abstract void |
signXML()
An abstract method that signs the object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public boolean isSigned()
public boolean isSignatureValid()
public abstract void signXML() throws SAMLException
SAMLException
- if couldn't sign the object.public java.lang.String getResponseID()
public boolean setResponseID(java.lang.String responseID)
responseID
- A String that is the ResponseID attribute of the
Response.public java.lang.String getInResponseTo()
public boolean setInResponseTo(java.lang.String inResponseTo)
inResponseTo
- A String representing the InResponseTo attribute
of the Response.public int getMajorVersion()
public int getMinorVersion()
public org.w3c.dom.Element getSignature()
public boolean setSignature(org.w3c.dom.Element elem)
elem
- ds:Signature elementpublic java.util.Date getIssueInstant()
public boolean setIssueInstant(java.util.Date issueInstant)
issueInstant
- a Date object representing the time when the Response
is issued.public java.lang.String getRecipient()
public boolean setRecipient(java.lang.String recipient)
recipient
- A String representing the Recipient attribute of the
Response.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |