public class PrincipalAuthenticationMechanism
extends oracle.security.xmlsec.util.XMLElement
| Constructor and Description |
|---|
PrincipalAuthenticationMechanism(org.w3c.dom.Document doc, java.lang.String nsURI)
Creates a new
PrincipalAuthenticationMechanism instance. |
PrincipalAuthenticationMechanism(org.w3c.dom.Element element)
Creates a new
PrincipalAuthenticationMechanism instance from the given Element node. |
PrincipalAuthenticationMechanism(org.w3c.dom.Element element, java.lang.String systemID)
Creates a new
PrincipalAuthenticationMechanism instance from the given Element node. |
| Modifier and Type | Method and Description |
|---|---|
void |
addExtension(Extension extn)
Adds a schema extension.
|
ActivationPin |
getActivationPin()
Returns the activation pin information.
|
java.util.List |
getExtensions()
Returns the schema extensions.
|
Password |
getPassword()
Returns the password information.
|
int |
getPreAuth()
Returns the preauth attribute value.
|
RestrictedPassword |
getRestrictedPassword()
Returns the restricted password information.
|
Smartcard |
getSmartcard()
Returns the smart card information.
|
Token |
getToken()
Returns the token information.
|
void |
setActivationPin(ActivationPin ap)
Sets the activation pin information.
|
void |
setPassword(Password password)
Sets the password.
|
void |
setPreAuth(int preauth)
Sets the preauth attribute.
|
void |
setRestrictedPassword(RestrictedPassword password)
Sets the restricted password information.
|
void |
setSmartcard(Smartcard sc)
Sets the smart card information.
|
void |
setToken(Token tok)
Sets the token information.
|
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, setDefaultNSPrefixappendChild, 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 PrincipalAuthenticationMechanism(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
PrincipalAuthenticationMechanism instance from the given Element node.element - An PrincipalAuthenticationMechanism element.org.w3c.dom.DOMException
public PrincipalAuthenticationMechanism(org.w3c.dom.Element element,
java.lang.String systemID)
throws org.w3c.dom.DOMException
PrincipalAuthenticationMechanism instance from the given Element node.element - An PrincipalAuthenticationMechanism element.systemID - The URI string system ID for the PrincipalAuthenticationMechanism.org.w3c.dom.DOMException
public PrincipalAuthenticationMechanism(org.w3c.dom.Document doc,
java.lang.String nsURI)
throws org.w3c.dom.DOMException
PrincipalAuthenticationMechanism instance.doc - The owner document of the new PrincipalAuthenticationMechanism.nsURI - The namespace URI in which the new PrincipalAuthenticationMechanism is to be created.org.w3c.dom.DOMExceptionpublic void setPreAuth(int preauth)
preauth - An unsigned integer value.public int getPreAuth()
0 if not present or an error occurs.public void setPassword(Password password)
password - The Password object.public Password getPassword()
Password object or null if not present.public void setRestrictedPassword(RestrictedPassword password)
password - The RestrictedPassword object.public RestrictedPassword getRestrictedPassword()
RestrictedPassword object or null if not present.public void setToken(Token tok)
tok - The Token object.public Token getToken()
Token object or null if not present.public void setSmartcard(Smartcard sc)
sc - The Smartcard object.public Smartcard getSmartcard()
Smartcard object or null if not present.public void setActivationPin(ActivationPin ap)
ap - The ActivationPin object.public ActivationPin getActivationPin()
ActivationPin 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.