Oracle Security Developer Tools SAML 2.0 Java API Reference
10g (10.1.4.0.1)

B28174-01


oracle.security.xmlsec.saml2.protocol
Class RequestedAuthnContext

java.lang.Object
  extended byoracle.security.xmlsec.util.XMLNode
      extended byoracle.security.xmlsec.util.XMLElement
          extended byoracle.security.xmlsec.saml2.protocol.RequestedAuthnContext


public class RequestedAuthnContext
extends oracle.security.xmlsec.util.XMLElement

Represents information about the authentication context requirements of authentication statements returned in responses.


Field Summary

 

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

 

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

 

Method Summary
 void addAuthnContextClassRef(java.lang.String uri)
          Adds an authenticating context class reference.
 void addAuthnContextDeclRef(java.lang.String uri)
          Adds an authenticating context declaration reference.
 java.util.List getAuthnContextClassRefs()
          Return the authentication context class reference.
 java.util.List getAuthnContextDeclRefs()
          Return the authentication context declaration reference.
 Comparison getComparison()
          Set the AuthnContext comparison method.
 void setComparison(Comparison comp)
          Set the AuthnContext comparison method.

 

Methods inherited from class oracle.security.xmlsec.util.XMLElement
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, 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

RequestedAuthnContext

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

RequestedAuthnContext

public RequestedAuthnContext(org.w3c.dom.Element element,
                             java.lang.String SystemId)
                      throws org.w3c.dom.DOMException
Creates a new RequestedAuthnContext instance from the given Element node.
Parameters:
element - A RequestedAuthnContext element.
Throws:
org.w3c.dom.DOMException

RequestedAuthnContext

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

RequestedAuthnContext

protected RequestedAuthnContext(org.w3c.dom.Document owner,
                                java.lang.String nsURI,
                                java.lang.String localName)
                         throws org.w3c.dom.DOMException
Creates a new RequestedAuthnContext instance. This is for use in any sub-class for extension of the RequestedAuthnContext element.
Parameters:
owner - The owner document of the new RequestedAuthnContext.
nsURI - The namespace URI in which the new RequestedAuthnContext 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

addAuthnContextClassRef

public void addAuthnContextClassRef(java.lang.String uri)
Adds an authenticating context class reference.

Removes all existing authentication context declaration references.

Parameters:
uri - A URI reference to an authentication context class.

getAuthnContextClassRefs

public java.util.List getAuthnContextClassRefs()
Return the authentication context class reference.
Returns:
A List of URI reference to the authentication context class or null if not specified.

addAuthnContextDeclRef

public void addAuthnContextDeclRef(java.lang.String uri)
Adds an authenticating context declaration reference.

Removes all existing authentication context class references.

Parameters:
uri - A URI reference to an authentication context declaration.

getAuthnContextDeclRefs

public java.util.List getAuthnContextDeclRefs()
Return the authentication context declaration reference.
Returns:
A List of URI reference to the authentication context declaration or null if not specified.

setComparison

public void setComparison(Comparison comp)
Set the AuthnContext comparison method.
Parameters:
comp - A String identifying the comparison method.

getComparison

public Comparison getComparison()
Set the AuthnContext comparison method.
Returns:
The comparison method.

Oracle Security Developer Tools SAML 2.0 Java API Reference
10g (10.1.4.0.1)

B28174-01


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