Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-03


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

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.DCEPrincipalAttribute


public class DCEPrincipalAttribute
extends Attribute

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


Field Summary

 

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

 

Constructor Summary
DCEPrincipalAttribute(org.w3c.dom.Document owner)
          Creates a new DCEPrincipalAttribute instance.
DCEPrincipalAttribute(org.w3c.dom.Element element)
          Creates a new DCEPrincipalAttribute instance from the given Element node.
DCEPrincipalAttribute(org.w3c.dom.Element element, java.lang.String systemId)
          Creates a new DCEPrincipalAttribute 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 realm, 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

DCEPrincipalAttribute

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

DCEPrincipalAttribute

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

DCEPrincipalAttribute

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

Method Detail

setAttributeValue

public void setAttributeValue(java.lang.String uuidValue,
                              java.lang.String realm,
                              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 the subject's DCE principal identity.
realm - The optional DCE realm name.
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 Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-03


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