Skip navigation links

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

E10676-05


oracle.security.xmlsec.saml2.ac
Class AuthnMethod

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.saml2.ac.AuthnMethod


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

Represents characteristics that define the mechanisms by which the Principal authenticates with the Authentication Authority.


Field Summary

 

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

 

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

 

Method Summary
 void addExtension(Extension extn)
          Adds a schema extension.
 Authenticator getAuthenticator()
          Returns the authenticator.
 AuthenticatorTransportProtocol getAuthenticatorTransportProtocol()
          Returns the authenticator transport protocol.
 java.util.List getExtensions()
          Returns the schema extensions.
 PrincipalAuthenticationMechanism getPrincipalAuthenticationMechanism()
          Returns the principal authentication mechanism.
 void setAuthenticator(Authenticator atr)
          Sets the authenticator.
 void setAuthenticatorTransportProtocol(AuthenticatorTransportProtocol atp)
          Sets the authenticator transport protocol.
 void setPrincipalAuthenticationMechanism(PrincipalAuthenticationMechanism pam)
          Sets the principal authentication mechanism.

 

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

AuthnMethod

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

AuthnMethod

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

AuthnMethod

public AuthnMethod(org.w3c.dom.Document owner,
                   java.lang.String nsURI)
            throws org.w3c.dom.DOMException
Creates a new AuthnMethod instance.
Parameters:
owner - The owner document of the new AuthnMethod.
nsURI - The namespace URI in which the new AuthnMethod is to be created.
Throws:
org.w3c.dom.DOMException

AuthnMethod

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

setPrincipalAuthenticationMechanism

public void setPrincipalAuthenticationMechanism(PrincipalAuthenticationMechanism pam)
Sets the principal authentication mechanism.
Parameters:
pam - The PrincipalAuthenticationMechanism object

getPrincipalAuthenticationMechanism

public PrincipalAuthenticationMechanism getPrincipalAuthenticationMechanism()
Returns the principal authentication mechanism.
Returns:
The PrincipalAuthenticationMechanism object or null if not present.

setAuthenticator

public void setAuthenticator(Authenticator atr)
Sets the authenticator.
Parameters:
atr - The Authenticator object.

getAuthenticator

public Authenticator getAuthenticator()
Returns the authenticator.
Returns:
The Authenticator object or null if not present.

setAuthenticatorTransportProtocol

public void setAuthenticatorTransportProtocol(AuthenticatorTransportProtocol atp)
Sets the authenticator transport protocol.
Parameters:
atp - The AuthenticatorTransportProtocol object.

getAuthenticatorTransportProtocol

public AuthenticatorTransportProtocol getAuthenticatorTransportProtocol()
Returns the authenticator transport protocol.
Returns:
The AuthenticatorTransportProtocol object or null if not present.

addExtension

public void addExtension(Extension extn)
Adds a schema extension.
Parameters:
extn - The Extension object.

getExtensions

public java.util.List getExtensions()
Returns the schema extensions.
Returns:
The List of Extension objects or null if not present.

Skip navigation links

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

E10676-05


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