|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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)
Add a RespondWith to the Request. |
java.util.Date |
getIssueInstant()
Gets the IssueInstant of the Request. |
int |
getMajorVersion()
Gets the MajorVersion of the Request. |
int |
getMinorVersion()
Gets 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. |
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 couldn't sign the object.public java.util.List getRespondWith()
public boolean addRespondWith(java.lang.String respondWith)
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 elementpublic java.lang.String getRequestID()
public boolean setRequestID(java.lang.String requestID)
requestID
- A String that is the RequestID attribute of the Request.public int getMajorVersion()
public int getMinorVersion()
public java.util.Date getIssueInstant()
public boolean setIssueInstant(java.util.Date issueInstant)
issueInstant
- a Date object representing the time when the Request
is issued.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |