Skip navigation links

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

E10676-02


oracle.security.xmlsec.saml2.metadata
Class IDPSSODescriptor

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
                  extended by oracle.security.xmlsec.saml2.metadata.SSODescriptor
                      extended by oracle.security.xmlsec.saml2.metadata.IDPSSODescriptor


public class IDPSSODescriptor
extends SSODescriptor

Represents the IDPSSODescriptor metadata element.


Field Summary

 

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

 

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

 

Method Summary
 void addAssertionIDRequestService(AssertionIDRequestService nms)
          Adds a AssertionIDRequest service.
 void addAttributeProfile(AttributeProfile ap)
          Adds an attribute profile.
 void addNameIDMappingService(NameIDMappingService nms)
          Adds a NameIDMapping service.
 void addSAMLAttribute(Attribute attr)
          Adds an attribute.
 void addSingleSignOnService(SingleSignOnService sso)
          Adds a SSO service.
 java.util.List getAssertionIDRequestServices()
          Returns the list of AssertionIDRequest services.
 java.util.List getAttributeProfiles()
          Returns the list of attribute profiles.
 java.util.List getNameIDMappingServices()
          Returns the list of NameIDMapping services.
 java.util.List getSAMLAttributes()
          Returns the list of attributes.
 java.util.List getSingleSignOnServices()
          Returns the list of SSO services.
 boolean getWantAssertionsSigned()
          Returns the WantAssertionsSigned attribute value.
 void setWantAssertionsSigned(boolean signed)
          Sets the WantAssertionsSigned attribute value.

 

Methods inherited from class oracle.security.xmlsec.saml2.metadata.SSODescriptor
addArtifactResolutionService, addManageNameIDService, addNameIDFormat, addSingleLogoutService, getArtifactResolutionServices, getManageNameIDServices, getNameIDFormats, getSingleLogoutServices

 

Methods inherited from class oracle.security.xmlsec.saml2.metadata.RoleDescriptor
addContactPerson, addKeyDescriptor, getContactPersons, getErrorURL, getKeyDescriptors, getOrganization, getProtocolSupportEnumeration, setErrorURL, setOrganization, setProtocolSupportEnumeration

 

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

IDPSSODescriptor

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

IDPSSODescriptor

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

IDPSSODescriptor

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

Method Detail

setWantAssertionsSigned

public void setWantAssertionsSigned(boolean signed)
Sets the WantAssertionsSigned attribute value.
Parameters:
signed - A boolean value.

getWantAssertionsSigned

public boolean getWantAssertionsSigned()
Returns the WantAssertionsSigned attribute value.
Returns:
@return A boolean indicating if the assertions are required to be signed.

addSingleSignOnService

public void addSingleSignOnService(SingleSignOnService sso)
Adds a SSO service.
Parameters:
sso - A SingleSignOnService object.

getSingleSignOnServices

public java.util.List getSingleSignOnServices()
Returns the list of SSO services.
Returns:
A List of SingleSignOnService objects or null if none were found.

addNameIDMappingService

public void addNameIDMappingService(NameIDMappingService nms)
Adds a NameIDMapping service.
Parameters:
nms - A NameIDMappingService object.

getNameIDMappingServices

public java.util.List getNameIDMappingServices()
Returns the list of NameIDMapping services.
Returns:
A List of NameIDMappingService objects or null if none were found.

addAssertionIDRequestService

public void addAssertionIDRequestService(AssertionIDRequestService nms)
Adds a AssertionIDRequest service.
Parameters:
nms - A AssertionIDRequestService object.

getAssertionIDRequestServices

public java.util.List getAssertionIDRequestServices()
Returns the list of AssertionIDRequest services.
Returns:
A List of AssertionIDRequestService objects or null if none were found.

addAttributeProfile

public void addAttributeProfile(AttributeProfile ap)
Adds an attribute profile.
Parameters:
ap - A AttributeProfile object.

getAttributeProfiles

public java.util.List getAttributeProfiles()
Returns the list of attribute profiles.
Returns:
A List of AttributeProfile objects or null if none were found.

addSAMLAttribute

public void addSAMLAttribute(Attribute attr)
Adds an attribute.
Parameters:
attr - A Attribute object.

getSAMLAttributes

public java.util.List getSAMLAttributes()
Returns the list of attributes.
Returns:
A List of Attribute objects or null if none were found.

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.