Skip navigation links

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

E10676-04


oracle.security.xmlsec.saml2.metadata
Class RoleDescriptor

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.saml2.metadata.Descriptor
              extended by oracle.security.xmlsec.saml2.metadata.RoleDescriptor

Direct Known Subclasses:
AttributeAuthorityDescriptor, AuthnAuthorityDescriptor, PDPDescriptor, SSODescriptor

public class RoleDescriptor
extends Descriptor

Represents the RoleDescriptor metadata element.


Field Summary

 

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

 

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

 

Method Summary
 void addContactPerson(ContactPerson cp)
          Adds a contact person.
 void addKeyDescriptor(KeyDescriptor kd)
          Adds a key descriptor.
 java.util.List getContactPersons()
          Gets the list of contact persons.
 java.lang.String getErrorURL()
          Returns the eror URL
 java.util.List getKeyDescriptors()
          Gets the list of key descriptors.
 Organization getOrganization()
          Gets the Organization .
 java.lang.String[] getProtocolSupportEnumeration()
          Returns the protocol support enumeration.
 void setErrorURL(java.lang.String uri)
          Sets the error URL.
 void setOrganization(Organization org)
          Adds a Organization.
 void setProtocolSupportEnumeration(java.lang.String[] uri)
          Sets the protocol support enumeration.

 

Methods inherited from class oracle.security.xmlsec.saml2.metadata.Descriptor
addSignature, addSignature, clearSignature, getCacheDuration, getExtensions, getID, getSignature, getValidUntil, isSigned, setCacheDuration, setExtensions, setID, setValidUntil, sign, sign, verify, verify

 

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

RoleDescriptor

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

RoleDescriptor

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

RoleDescriptor

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

RoleDescriptor

protected RoleDescriptor(org.w3c.dom.Document owner,
                         java.lang.String nsURI,
                         java.lang.String localName)
                  throws org.w3c.dom.DOMException
Creates a new RoleDescriptor instance. This constructor is for use in subclass for extension of the RoleDescriptor element.
Parameters:
owner - The owner document of the new RoleDescriptor.
nsURI - The namespace URI in which the new RoleDescriptor is to be created.
localName - The localName of the element represented by the class that extends this class.
Throws:
org.w3c.dom.DOMException

Method Detail

setErrorURL

public void setErrorURL(java.lang.String uri)
Sets the error URL.
Parameters:
uri - The URL reference.

getErrorURL

public java.lang.String getErrorURL()
Returns the eror URL
Returns:
A URL or null if not present.

setProtocolSupportEnumeration

public void setProtocolSupportEnumeration(java.lang.String[] uri)
Sets the protocol support enumeration.
Parameters:
uri - An array of URLs.

getProtocolSupportEnumeration

public java.lang.String[] getProtocolSupportEnumeration()
Returns the protocol support enumeration.
Returns:
A String[] or null if not present.

addKeyDescriptor

public void addKeyDescriptor(KeyDescriptor kd)
Adds a key descriptor.
Parameters:
kd - A KeyDescriptor object.

getKeyDescriptors

public java.util.List getKeyDescriptors()
Gets the list of key descriptors.
Returns:
A List of KeyDescriptor objects null if none were found.

setOrganization

public void setOrganization(Organization org)
Adds a Organization.
Parameters:
org - An Organization object.

getOrganization

public Organization getOrganization()
Gets the Organization .
Returns:
An Organization object or null if none was found.

addContactPerson

public void addContactPerson(ContactPerson cp)
Adds a contact person.
Parameters:
cp - A ContactPerson object.

getContactPersons

public java.util.List getContactPersons()
Gets the list of contact persons.
Returns:
A List of ContactPerson objects null if none were found.

Skip navigation links

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

E10676-04


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