public class AuthenticationMethod extends ACElement
AuthenticationMethod element in the Liberty authentication context namespace (http://projectliberty.org/schemas/authctx/2002/05).authenticationContextClass| Constructor and Description | 
|---|
| AuthenticationMethod(org.w3c.dom.Document owner, AuthenticationContextStatement acs)Creates a new  AuthenticationMethodinstance in the given document with the given authentication context. | 
| AuthenticationMethod(org.w3c.dom.Element element, AuthenticationContextStatement acs)Creates a new  AuthenticationMethodobject that wraps the given Element object. | 
| AuthenticationMethod(org.w3c.dom.Element element, java.lang.String systemId, AuthenticationContextStatement acs)Creates a new  AuthenticationMethodobject that wraps the given Element object. | 
| Modifier and Type | Method and Description | 
|---|---|
| Authenticator | getAuthenticator()Returns the  Authenticatorelement for thisAuthenticationMethod, ornullif none has been set. | 
| AuthenticatorTransportProtocol | getAuthenticatorTransportProtocol()Returns the  AuthenticatorTransportProtocolelement for thisAuthenticationMethod, ornullif none has been set. | 
| PrincipalAuthenticationMechanism | getPrincipalAuthenticationMechanism()Returns the  PrincipalAuthemticationMethodelement for thisAuthenticationMethod, ornullif none has been set. | 
| void | setAuthenticator(Authenticator au)Sets the  Authenticatorelement for thisAuthenticationMethodelement, replacing any existingAuthenticatorelement. | 
| void | setAuthenticatorTransportProtocol(AuthenticatorTransportProtocol atp)Sets the  AuthenticatorTransportProtocolelement for thisAuthenticationMethodelement, replacing any existingAuthenticatorTransportProtocolelement. | 
| void | setPrincipalAuthenticationMechanism(PrincipalAuthenticationMechanism pam)Sets the  PrincipalAuthenticationMechanismelement for thisAuthenticationMethodelement, replacing any existingPrincipalAuthenticationMechanismelement. | 
getAuthenticationContextClass, setAuthenticationContextClassaddNSPrefixAttr, 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 AuthenticationMethod(org.w3c.dom.Element element,
                    AuthenticationContextStatement acs)
AuthenticationMethod object that wraps the given Element object.element - The underlying org.w3c.dom.Element object.acs - The authentication context for the element.
public AuthenticationMethod(org.w3c.dom.Element element,
                    java.lang.String systemId,
                    AuthenticationContextStatement acs)
AuthenticationMethod object that wraps the given Element object.element - The underlying org.w3c.dom.Element object.systemId - The URI string system ID for the AuthenticationMethod.acs - The authentication context for the element.
public AuthenticationMethod(org.w3c.dom.Document owner,
                    AuthenticationContextStatement acs)
AuthenticationMethod 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.public void setPrincipalAuthenticationMechanism(PrincipalAuthenticationMechanism pam) throws AuthenticationContextException
PrincipalAuthenticationMechanism element for this AuthenticationMethod element, replacing any existing PrincipalAuthenticationMechanism element.id - The PrincipalAuthenticationMechanism element.AuthenticationContextException - If the PrincipalAuthenticationMechanism element is not valid for this authentication context class.public PrincipalAuthenticationMechanism getPrincipalAuthenticationMechanism()
PrincipalAuthemticationMethod element for this AuthenticationMethod, or null if none has been set.public void setAuthenticator(Authenticator au) throws AuthenticationContextException
Authenticator element for this AuthenticationMethod element, replacing any existing Authenticator element.id - The Authenticator element.AuthenticationContextException - If the Authenticator element is not valid for this authentication context class.public Authenticator getAuthenticator()
Authenticator element for this AuthenticationMethod, or null if none has been set.public void setAuthenticatorTransportProtocol(AuthenticatorTransportProtocol atp) throws AuthenticationContextException
AuthenticatorTransportProtocol element for this AuthenticationMethod element, replacing any existing AuthenticatorTransportProtocol element.id - The AuthenticatorTransportProtocol element.AuthenticationContextException - If the AuthenticatorTransportProtocol element is not valid for this authentication context class.public AuthenticatorTransportProtocol getAuthenticatorTransportProtocol()
AuthenticatorTransportProtocol element for this AuthenticationMethod, or null if none has been set.