|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.saml.protocol.AbstractRequest
This AbstractRequest
class is an abstract base class for all
SAML Request in samlp
namespace. It corresponds to
RequestAbstractType
in SAML protocol schema.
Method Summary | |
boolean |
addRespondWith(java.lang.String respondWith)
Adds a RespondWith to the Request. |
java.util.Date |
getIssueInstant()
Returns the IssueInstant of the Request. |
int |
getMajorVersion()
Returns the MajorVersion of the Request. |
int |
getMinorVersion()
Returns the MinorVersion of the Request. |
java.lang.String |
getRequestID()
Gets the RequestID of the Request. |
java.util.List |
getRespondWith()
Gets 0 or more of RespondWith in the Request. |
org.w3c.dom.Element |
getSignature()
Gets 0 or 1 of Signature in the Request. |
boolean |
isSignatureValid()
Return whether the signature on the object is valid or not. |
boolean |
isSigned()
Return whether the object is signed or not. |
boolean |
setIssueInstant(java.util.Date issueInstant)
Set the IssueInstant of the Request. |
void |
setMajorVersion(int majorVersion)
Sets the MajorVersion of the Request. |
void |
setMinorVersion(int minorVersion)
Sets the MinorVersion of the Request. |
boolean |
setRequestID(java.lang.String requestID)
Set the RequestID of the Request. |
boolean |
setSignature(org.w3c.dom.Element elem)
Set the signature for the Request |
abstract void |
signXML()
An abstract method to sign 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.util.List getRespondWith()
RespondWith
in the Request.
public boolean addRespondWith(java.lang.String respondWith)
RespondWith
to the Request.
respondWith
- A String that needs to be added to the Request.
public org.w3c.dom.Element getSignature()
public boolean setSignature(org.w3c.dom.Element elem)
elem
- ds:Signature
element
public java.lang.String getRequestID()
RequestID
of the Request.
RequestID
of the Request.public boolean setRequestID(java.lang.String requestID)
RequestID
of the Request.
requestID
- A String that is the RequestID
attribute of
the Request.
public int getMajorVersion()
MajorVersion
of the Request.
MajorVersion
of the Request.public int getMinorVersion()
MinorVersion
of the Request.
MinorVersion
of the request.public void setMajorVersion(int majorVersion)
MajorVersion
of the Request.
majorVersion
- the intended major version for SAML Requestpublic void setMinorVersion(int minorVersion)
MinorVersion
of the Request.
minorVersion
- the intended minor version for SAML Requestpublic java.util.Date getIssueInstant()
IssueInstant
of the Request.
IssueInstant
of the Request.public boolean setIssueInstant(java.util.Date issueInstant)
IssueInstant
of the Request.
issueInstant
- a Date object representing the time when the Request
is issued.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |