|
Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10676-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.xmlsec.util.XMLNode
oracle.security.xmlsec.util.XMLElement
oracle.security.xmlsec.saml2.core.Attribute
oracle.security.xmlsec.saml2.profiles.attribute.xacml.XACMLAttribute
public class XACMLAttribute
Represents a SAML attribute that conforms to the X.500/LDAP attribute profile.
Field Summary |
---|
Fields inherited from class oracle.security.xmlsec.util.XMLNode |
---|
node, systemId |
Constructor Summary | |
---|---|
XACMLAttribute(org.w3c.dom.Document owner) Creates a new BasicAttribute instance. |
|
XACMLAttribute(org.w3c.dom.Element element) Creates a new BasicAttribute instance from the given Element node. |
|
XACMLAttribute(org.w3c.dom.Element element, java.lang.String systemId) Creates a new BasicAttribute instance from the given Element node. |
Method Summary | |
---|---|
void |
addAttributeValue(byte[] attributeValue) Adds a new AttributeValue element to this Attribute . |
void |
addAttributeValue(java.lang.String[] attributeValues) Deprecated. Use Attribute.addAttributeValues(String[]) instead. |
java.lang.String |
getAttributeProfileID() Returns the Profile Identification URI. |
java.util.List |
getAttributeValueBytes() Returns the contents of this Attribute 's AttributeValue s that have xsi:type="xs:base64binary" . |
java.lang.String |
getXacmlDataType() Returns the value of this Attribute element's xacmlprof:DataType attribute. |
void |
setXacmlDataType(java.lang.String dataTypeURI) Sets the xacmlprof:DataType attribute of this Attribute element. |
Methods inherited from class oracle.security.xmlsec.saml2.core.Attribute |
---|
addAttributeValue, addAttributeValue, addAttributeValue, addAttributeValues, getAttributeValues, getAttributeValuesAsStrings, getAttributeValuesAsStrings, getAttributeValueStrings, getFriendlyName, getName, getNameFormat, getXsiType, setFriendlyName, setName, setNameFormat, setXsiType |
Methods inherited from class oracle.security.xmlsec.util.XMLElement |
---|
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefix |
Methods inherited from class oracle.security.xmlsec.util.XMLNode |
---|
appendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXML |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XACMLAttribute(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
BasicAttribute
instance from the given Element node.
element
- A BasicAttribute element.org.w3c.dom.DOMException
public XACMLAttribute(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
BasicAttribute
instance from the given Element node.
element
- A BasicAttribute element.systemId
- The URI string system ID for the BasicAttribute
.org.w3c.dom.DOMException
public XACMLAttribute(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
BasicAttribute
instance.
owner
- The owner document of the new BasicAttribute.org.w3c.dom.DOMException
Method Detail |
---|
public void setXacmlDataType(java.lang.String dataTypeURI)
xacmlprof:DataType
attribute of this Attribute
element.dataTypeURI
- The URI identifying the XACML data type of any AttributeValue
s in this Attribute
.public java.lang.String getXacmlDataType()
Attribute
element's xacmlprof:DataType
attribute.xacmlprof:DataType
attribute, or null
if none is set.public void addAttributeValue(java.lang.String[] attributeValues)
Attribute.addAttributeValues(String[])
instead.attributeValues
- The array of attribute Value Strings.public void addAttributeValue(byte[] attributeValue)
AttributeValue
element to this Attribute
. The new element will have the attribute xsi:type="xs:base64binary"
.attributeValue
- The bytes of the new AttributeValue
element's content.public java.util.List getAttributeValueBytes()
Attribute
's AttributeValue
s that have xsi:type="xs:base64binary"
.List
of byte[]
s, or null
if no AttributeValue
s with xsi:type="xs:base64binary"
are present.public java.lang.String getAttributeProfileID()
getAttributeProfileID
in class Attribute
|
Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10676-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |