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

B28174-01


oracle.security.xmlsec.saml2.ac
Class Authenticator

java.lang.Object
  extended byoracle.security.xmlsec.util.XMLNode
      extended byoracle.security.xmlsec.util.XMLElement
          extended byoracle.security.xmlsec.saml2.ac.Authenticator

Direct Known Subclasses:
ComplexAuthenticator

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

Represents the method applied to validate a principal's authenticator across a network.


Field Summary

 

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

 

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

 

Method Summary
 AuthenticatorType getAuthenticatorChoice()
          Returns the authenticator choice group.
 AuthenticatorSequenceGroup getAuthenticatorSequenceGroup()
          Returns the authenticator sequence group.
 void setAuthenticator(AuthenticatorType auth, AuthenticatorSequenceGroup grp)
          Sets the authenticator choice and sequence.

 

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

Authenticator

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

Authenticator

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

Authenticator

public Authenticator(org.w3c.dom.Document doc,
                     java.lang.String nsURI)
              throws org.w3c.dom.DOMException
Creates a new Authenticator instance. This constructor is for use in subclass for extension of the DigSig element.
Parameters:
doc - The owner document of the new Authenticator.
nsURI - The namespace URI in which the new Authenticator is to be created.
Throws:
org.w3c.dom.DOMException

Authenticator

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

setAuthenticator

public void setAuthenticator(AuthenticatorType auth,
                             AuthenticatorSequenceGroup grp)
Sets the authenticator choice and sequence.

Invoking this method will delete all child nodes.

Parameters:
auth - The authenticator choice group.
grp - The authenticator sequence group.

getAuthenticatorChoice

public AuthenticatorType getAuthenticatorChoice()
Returns the authenticator choice group.
Returns:
The Authenticator object or null if not present.

getAuthenticatorSequenceGroup

public AuthenticatorSequenceGroup getAuthenticatorSequenceGroup()
Returns the authenticator sequence group.
Returns:
The AuthenticatorSequenceGroup object or null if not present.

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.