Skip navigation links

Oracle Security Developer Tools SAML 2.0 Java API Reference
11g (11.1.1)

E10676-02


oracle.security.xmlsec.saml2.profiles.attribute.dce
Class DCERealmAttribute

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.saml2.core.Attribute
              extended by oracle.security.xmlsec.saml2.profiles.attribute.dce.DCERealmAttribute


public class DCERealmAttribute
extends Attribute

Represents a DCE Realm information that conforms to the DCE attribute profile.


Field Summary

 

Fields inherited from class oracle.security.xmlsec.util.XMLNode
node, systemId

 

Constructor Summary
DCERealmAttribute(org.w3c.dom.Document owner)
          Creates a new DCERealmAttribute instance.
DCERealmAttribute(org.w3c.dom.Element element)
          Creates a new DCERealmAttribute instance from the given Element node.
DCERealmAttribute(org.w3c.dom.Element element, java.lang.String systemId)
          Creates a new DCERealmAttribute instance from the given Element node.

 

Method Summary
 java.lang.String getAttributeProfileID()
          Returns the Profile Identification URI.
 java.lang.String getAttributeValueString()
          Returns the string value of this Attribute's AttributeValue element.
 void setAttributeValue(java.lang.String uuidValue, java.lang.String friendlyName)
          Sets the AttributeValue element for this Attribute, with xsi:type="dceprof:DCEValueType".

 

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

DCERealmAttribute

public DCERealmAttribute(org.w3c.dom.Element element)
                  throws org.w3c.dom.DOMException
Creates a new DCERealmAttribute instance from the given Element node.
Parameters:
element - A DCERealmAttribute element.
Throws:
org.w3c.dom.DOMException

DCERealmAttribute

public DCERealmAttribute(org.w3c.dom.Element element,
                         java.lang.String systemId)
                  throws org.w3c.dom.DOMException
Creates a new DCERealmAttribute instance from the given Element node.
Parameters:
element - A DCERealmAttribute element.
systemId - The URI string system ID for the DCERealmAttribute.
Throws:
org.w3c.dom.DOMException

DCERealmAttribute

public DCERealmAttribute(org.w3c.dom.Document owner)
                  throws org.w3c.dom.DOMException
Creates a new DCERealmAttribute instance.
Parameters:
owner - The owner document of the new DCERealmAttribute.
Throws:
org.w3c.dom.DOMException

Method Detail

setAttributeValue

public void setAttributeValue(java.lang.String uuidValue,
                              java.lang.String friendlyName)
Sets the AttributeValue element for this Attribute, with xsi:type="dceprof:DCEValueType". Any existing AttributeValue elements are removed.
Parameters:
uuidValue - The UUID value representing a DCE realm or cell.
friendlyName - The optional DCE friendly name.

getAttributeValueString

public java.lang.String getAttributeValueString()
Returns the string value of this Attribute's AttributeValue element. The first AttributeValue with xsi:type="dceprof:DCEValueType" or missing xsi:type. is returned.
Returns:
A Stringss, or null if no AttributeValue has been added with xsi:type="dceprof:DCEValueType" or missing xsi:type.

getAttributeProfileID

public java.lang.String getAttributeProfileID()
Returns the Profile Identification URI.
Specified by:
getAttributeProfileID in class Attribute
Returns:
The DCE attribute profile identification URI.

Skip navigation links

Oracle Security Developer Tools SAML 2.0 Java API Reference
11g (11.1.1)

E10676-02


Copyright © 2005, 2009, Oracle. All rights reserved.