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