|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openxri.saml.Assertion
public class Assertion
This class provides encapsulation of a SAML 2.0 Assertion
Constructor Summary | |
---|---|
Assertion()
Contructs a SAML 2.0 assertion and generates an id for it |
|
Assertion(org.w3c.dom.Element oElem)
Contructs a SAML 2.0 assertion from the specified DOM |
Method Summary | |
---|---|
java.lang.String |
dump()
Returns object as a formatted XML string. |
void |
fromDOM(org.w3c.dom.Element oElem)
This method populates the object from DOM. |
void |
genXmlID()
Sets the id attribute with a newly generated id |
AttributeStatement |
getAttributeStatement()
Returns the first attribute statement in the assertion |
Conditions |
getConditions()
Returns the conditions element of the assertion |
org.w3c.dom.Element |
getDOM()
This method returns DOM stored with this object. |
java.lang.String |
getIssueInstant()
Returns the issueInstant attribute |
NameID |
getIssuer()
Returns the issuer element of the assertion |
Subject |
getSubject()
Returns the subject of this assertion |
java.lang.String |
getXmlID()
Returns the id attribute |
boolean |
isValid()
Returns true of the assertion is valid. |
void |
reset()
Resets the internal state of this object |
void |
setAttrStatement(AttributeStatement oVal)
Sets the attribute statement element of the assertion. |
void |
setConditions(Conditions oVal)
Sets the conditions element of the assertion |
void |
setDOM(org.w3c.dom.Element oElem)
This method will import from DOM, and hold on to it, as retrievable by getDOM. |
void |
setIssueInstant(java.lang.String sVal)
Sets the issueInstant attribute |
void |
setIssuer(NameID oIssuer)
Sets the issuer element of the assertion |
void |
setSubject(Subject oVal)
Sets the subject element of the assertion |
void |
setXmlID(java.lang.String sVal)
Sets the id attribute |
org.w3c.dom.Element |
toDOM(org.w3c.dom.Document oDoc)
This method will make DOM using the specified document. |
java.lang.String |
toString()
Returns formatted object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Assertion()
public Assertion(org.w3c.dom.Element oElem)
Method Detail |
---|
public java.lang.String getIssueInstant()
public void setIssueInstant(java.lang.String sVal)
public java.lang.String getXmlID()
public void setXmlID(java.lang.String sVal)
public void genXmlID()
public void setDOM(org.w3c.dom.Element oElem)
public void reset()
public void fromDOM(org.w3c.dom.Element oElem)
public org.w3c.dom.Element getDOM()
public boolean isValid()
public AttributeStatement getAttributeStatement()
public org.w3c.dom.Element toDOM(org.w3c.dom.Document oDoc)
oDoc
- - The document to use for generating DOMpublic Subject getSubject()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String dump()
sTab
- - The characters to prepend before each new linepublic NameID getIssuer()
public void setIssuer(NameID oIssuer)
public Conditions getConditions()
public void setConditions(Conditions oVal)
public void setAttrStatement(AttributeStatement oVal)
public void setSubject(Subject oVal)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |