| 
 | Oracle Fusion Middleware Liberty 1.1 Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10670-04 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
   oracle.security.xmlsec.util.XMLNode
oracle.security.xmlsec.util.XMLNode
       oracle.security.xmlsec.util.XMLElement
oracle.security.xmlsec.util.XMLElement
           oracle.security.xmlsec.liberty.v11.ac.ACElement
oracle.security.xmlsec.liberty.v11.ac.ACElement
               oracle.security.xmlsec.liberty.v11.ac.PrincipalAuthenticationMechanism
oracle.security.xmlsec.liberty.v11.ac.PrincipalAuthenticationMechanism
public class PrincipalAuthenticationMechanism
Class representing the PrincipalAuthenticationMechanism element in the Liberty authentication context namespace (http://projectliberty.org/schemas/authctx/2002/05).
| Field Summary | 
|---|
| Fields inherited from class oracle.security.xmlsec.liberty.v11.ac.ACElement | 
|---|
| authenticationContextClass | 
| Fields inherited from class oracle.security.xmlsec.util.XMLNode | 
|---|
| node, systemId | 
| Constructor Summary | |
|---|---|
| PrincipalAuthenticationMechanism(org.w3c.dom.Document owner, AuthenticationContextStatement acs)Creates a new Generationinstance in the given document with the given authentication context. | |
| PrincipalAuthenticationMechanism(org.w3c.dom.Element element, AuthenticationContextStatement acs)Creates a new PrincipalAuthenticationMechanismobject that wraps the given Element object. | |
| PrincipalAuthenticationMechanism(org.w3c.dom.Element element, java.lang.String systemId, AuthenticationContextStatement acs)Creates a new PrincipalAuthenticationMechanismobject that wraps the given Element object. | |
| Method Summary | |
|---|---|
|  void | addPassword(Password pw)Adds the Passwordelement to thisPricipalAuthenticationMechanismelement. | 
|  void | addSmartcard(Smartcard sc)Adds the Smartcardelement to thisPricipalAuthenticationMechanismelement. | 
|  void | addToken(Token tk)Adds the Tokenelement to thisPricipalAuthenticationMechanismelement. | 
|  java.util.List | getPasswords()Returns the Passwordelements contained in this thisPrincipalAuthenticationMechanism. | 
|  java.util.List | getSmartcards()Returns the Smartcardelements contained in this thisPrincipalAuthenticationMechanism. | 
|  java.util.List | getTokens()Returns the Tokenelements contained in thisPrincipalAuthenticationMechanism. | 
| Methods inherited from class oracle.security.xmlsec.liberty.v11.ac.ACElement | 
|---|
| getAuthenticationContextClass, setAuthenticationContextClass | 
| 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 | 
|---|
public PrincipalAuthenticationMechanism(org.w3c.dom.Element element,
                                        AuthenticationContextStatement acs)
PrincipalAuthenticationMechanism object that wraps the given Element object.
element - The underlying org.w3c.dom.Element object.acs - The authentication context for the element.
public PrincipalAuthenticationMechanism(org.w3c.dom.Element element,
                                        java.lang.String systemId,
                                        AuthenticationContextStatement acs)
PrincipalAuthenticationMechanism object that wraps the given Element object.
element - The underlying org.w3c.dom.Element object.systemId - The URI string system ID for the Identification.acs - The authentication context for the element.
public PrincipalAuthenticationMechanism(org.w3c.dom.Document owner,
                                        AuthenticationContextStatement acs)
Generation instance in the given document with the given authentication context.
owner - The owner document for this new element.acs - The authentication context for this new element.| Method Detail | 
|---|
public void addPassword(Password pw)
                 throws AuthenticationContextException
Password element to this PricipalAuthenticationMechanism element.pw - The Password element.AuthenticationContextException - If the Password element is not valid for this authentication context class.public java.util.List getPasswords()
Password elements contained in this this PrincipalAuthenticationMechanism.
public void addSmartcard(Smartcard sc)
                  throws AuthenticationContextException
Smartcard element to this PricipalAuthenticationMechanism element.sc - The Smartcard element.AuthenticationContextException - If the Smartcard element is not valid for this authentication context class.public java.util.List getSmartcards()
Smartcard elements contained in this this PrincipalAuthenticationMechanism.
public void addToken(Token tk)
              throws AuthenticationContextException
Token element to this PricipalAuthenticationMechanism element.tk - The Token element.AuthenticationContextException - If the Token element is not valid for this authentication context class.public java.util.List getTokens()
Token elements contained in this PrincipalAuthenticationMechanism.| 
 | Oracle Fusion Middleware Liberty 1.1 Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10670-04 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||