public class KeyActivation extends ACElement
Authenticator element in the Liberty authentication context namespace (http://projectliberty.org/schemas/authctx/2002/05).authenticationContextClass| Constructor and Description |
|---|
KeyActivation(org.w3c.dom.Document owner, AuthenticationContextStatement acs)
Creates a new
KeyActivation instance in the given document with the given authentication context. |
KeyActivation(org.w3c.dom.Element element, AuthenticationContextStatement acs)
Creates a new
KeyActivation object that wraps the given Element object. |
KeyActivation(org.w3c.dom.Element element, java.lang.String systemId, AuthenticationContextStatement acs)
Creates a new
KeyActivation object that wraps the given Element object. |
| Modifier and Type | Method and Description |
|---|---|
Password |
getPassword()
Returns the
Password element for this KeyActivation, or null if none has been set. |
void |
setPassword(Password pw)
Sets the
Password element for this KeyActivation element, replacing any existing Password element. |
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 KeyActivation(org.w3c.dom.Element element,
AuthenticationContextStatement acs)
KeyActivation object that wraps the given Element object.element - The underlying org.w3c.dom.Element object.acs - The authentication context for the element.
public KeyActivation(org.w3c.dom.Element element,
java.lang.String systemId,
AuthenticationContextStatement acs)
KeyActivation object that wraps the given Element object.element - The underlying org.w3c.dom.Element object.systemId - The URI string system ID for the KeyActivation.acs - The authentication context for the element.
public KeyActivation(org.w3c.dom.Document owner,
AuthenticationContextStatement acs)
KeyActivation 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 setPassword(Password pw) throws AuthenticationContextException
Password element for this KeyActivation element, replacing any existing Password element.pw - The Password element.AuthenticationContextException - If the Password element is not valid for this authentication context class.public Password getPassword()
Password element for this KeyActivation, or null if none has been set.