public class AuthnMethod
extends oracle.security.xmlsec.util.XMLElement
Modifier | Constructor and Description |
---|---|
|
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. |
Modifier and Type | Method and Description |
---|---|
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.
|
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
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
public AuthnMethod(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
AuthnMethod
instance from the given Element node.element
- An AuthnMethod element.org.w3c.dom.DOMException
public AuthnMethod(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
AuthnMethod
instance from the given Element node.element
- An AuthnMethod element.systemId
- The URI string system ID for the AuthnMethod
.org.w3c.dom.DOMException
public AuthnMethod(org.w3c.dom.Document owner, java.lang.String nsURI) throws org.w3c.dom.DOMException
AuthnMethod
instance.owner
- The owner document of the new AuthnMethod.nsURI
- The namespace URI in which the new AuthnMethod is to be created.org.w3c.dom.DOMException
protected AuthnMethod(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName) throws org.w3c.dom.DOMException
AuthnMethod
instance. This constructor is for use in subclass for extension of the AuthnMethod element.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.org.w3c.dom.DOMException
public void setPrincipalAuthenticationMechanism(PrincipalAuthenticationMechanism pam)
pam
- The PrincipalAuthenticationMechanism
objectpublic PrincipalAuthenticationMechanism getPrincipalAuthenticationMechanism()
PrincipalAuthenticationMechanism
object or null
if not present.public void setAuthenticator(Authenticator atr)
atr
- The Authenticator
object.public Authenticator getAuthenticator()
Authenticator
object or null
if not present.public void setAuthenticatorTransportProtocol(AuthenticatorTransportProtocol atp)
atp
- The AuthenticatorTransportProtocol
object.public AuthenticatorTransportProtocol getAuthenticatorTransportProtocol()
AuthenticatorTransportProtocol
object or null
if not present.public void addExtension(Extension extn)
extn
- The Extension
object.public java.util.List getExtensions()
List
of Extension
objects or null
if not present.