|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.SAMLObject org.opensciencegrid.authz.saml.XACMLObligation
Basic XACMLObligation implementation that can hold rudimentary attribute values
The current implementation supports only a single attribute assignment per obligation object.
Field Summary | |
protected java.lang.String |
attributeId
Attribute ID |
protected java.lang.String |
datatype
Dataype of the attribute |
protected java.lang.String |
fullfillOn
FullFillOn Attribute |
protected java.lang.String |
obligationId
ObligationID |
protected java.lang.String |
value
Attribute Value |
Fields inherited from class org.opensaml.SAMLObject |
config, root |
Constructor Summary | |
XACMLObligation()
creates and empty (uninitialized) XACMLObligation objext |
|
XACMLObligation(org.w3c.dom.Element e)
Reconstructs an XACML Obligation from a DOM tree |
|
XACMLObligation(java.io.InputStream in)
Reconstructs an XACML Obligation from a stream |
|
XACMLObligation(java.lang.String obligationId,
java.lang.String fullfillOn,
java.lang.String attributeId,
java.lang.String datatype,
java.lang.String value)
Builds an XACML Obligation |
Method Summary | |
java.lang.Object |
clone()
Copies a SAML object such that no dependencies exist between the original and the copy |
void |
fromDOM(org.w3c.dom.Element e)
Initialization of obligation from a DOM element. |
java.lang.String |
getAttributeId()
|
java.lang.String |
getDatatype()
|
java.lang.String |
getFullfillOn()
|
java.lang.String |
getObligationId()
|
java.lang.String |
getValue()
|
org.w3c.dom.Node |
toDOM(org.w3c.dom.Document doc)
Overridden method to return a DOM tree representing the attribute |
Methods inherited from class org.opensaml.SAMLObject |
checkValidity, fromStream, plantRoot, toBase64, toDOM, toDOM, toDOM, toStream, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String obligationId
protected java.lang.String fullfillOn
protected java.lang.String attributeId
protected java.lang.String datatype
protected java.lang.String value
Constructor Detail |
public XACMLObligation(java.lang.String obligationId, java.lang.String fullfillOn, java.lang.String attributeId, java.lang.String datatype, java.lang.String value) throws org.opensaml.SAMLException
obligationId
- Name of the obligationfullfillOn
- the fullfillOn property ("Permit", "Deny")attributeId
- the attribute namevalue
- the attribute value
org.opensaml.SAMLException
- Thrown if obligation cannot be built from the
supplied informationpublic XACMLObligation()
public XACMLObligation(org.w3c.dom.Element e) throws org.opensaml.SAMLException
e
- The root of a DOM tree
org.opensaml.SAMLException
- Thrown if the object cannot be constructedpublic XACMLObligation(java.io.InputStream in) throws org.opensaml.SAMLException
in
- A stream containing XML
org.opensaml.SAMLException
- Raised if an exception occurs while constructing
the object.Method Detail |
public void fromDOM(org.w3c.dom.Element e) throws org.opensaml.SAMLException
e
- Root element of a DOM tree
org.opensaml.SAMLException
- Raised if an exception occurs while constructing
the object.public org.w3c.dom.Node toDOM(org.w3c.dom.Document doc) throws org.opensaml.SAMLException
doc
- A Document object to use in manufacturing the tree
org.opensaml.SAMLException
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
Object.clone()
public java.lang.String getObligationId()
public java.lang.String getFullfillOn()
public java.lang.String getAttributeId()
public java.lang.String getDatatype()
public java.lang.String getValue()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |