|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | 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()
Returns 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()
Returns 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. |
void |
setMajorVersion(int majorVersion)
Sets the MajorVersion of the Response. |
void |
setMinorVersion(int minorVersion)
Sets the MinorVersion 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 could not sign the object.public java.lang.String getResponseID()
ResponseID
of the Response.
ResponseID
of the Response.public boolean setResponseID(java.lang.String responseID)
ResponseID
of the Response.
responseID
- A String that is the ResponseID
attribute
of the Response.
public java.lang.String getInResponseTo()
InResponseTo
of the Response.
InResponseTo
of the Response.public boolean setInResponseTo(java.lang.String inResponseTo)
InResponseTo
of the Response.
inResponseTo
- The InResponseTo
attribute of the
Response.
public int getMajorVersion()
MajorVersion
of the Response.
MajorVersion
of the Response.public int getMinorVersion()
MinorVersion
of the Response.
MinorVersion
of the SAML response.public void setMajorVersion(int majorVersion)
MajorVersion
of the Response.
majorVersion
- the intended major version of SAML response.public void setMinorVersion(int minorVersion)
MinorVersion
of the Response.
minorVersion
- the intended minor version of SAML response.public org.w3c.dom.Element getSignature()
public boolean setSignature(org.w3c.dom.Element elem)
elem
- ds:Signature
element
public java.util.Date getIssueInstant()
IssueInstant
of the Response.
IssueInstant
of the Response.public boolean setIssueInstant(java.util.Date issueInstant)
IssueInstant
of the Response.
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: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |