public class Generation extends ACElement
Generation element in the Liberty authentication context namespace (http://projectliberty.org/schemas/authctx/2002/05).| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AUTOMATIC
The enumerated "automatic" value for the
Generation element's mechanism attribute. |
static java.lang.String |
PRINCIPAL_CHOSEN
The enumerated "principalchosen" value for the
Generation element's mechanism attribute. |
authenticationContextClass| Constructor and Description |
|---|
Generation(org.w3c.dom.Document owner, AuthenticationContextStatement acs)
Creates a new
Generation instance in the given document with the given authentication context. |
Generation(org.w3c.dom.Document owner, AuthenticationContextStatement acs, java.lang.String mechanism)
Creates a new
Generation instance in the given document with the given authentication context. |
Generation(org.w3c.dom.Element element, AuthenticationContextStatement acs)
Creates a new
Generation object that wraps the given Element object. |
Generation(org.w3c.dom.Element element, java.lang.String systemId, AuthenticationContextStatement acs)
Creates a new
Generation object that wraps the given Element object. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMechanism()
Returns the
mechanism attribute for this Generation element, or null if none has been set. |
void |
setMechanism(java.lang.String mechanism)
Sets the
mechanism attribute for this Generation 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, toStringXMLpublic static final java.lang.String PRINCIPAL_CHOSEN
Generation element's mechanism attribute.public static final java.lang.String AUTOMATIC
Generation element's mechanism attribute.
public Generation(org.w3c.dom.Element element,
AuthenticationContextStatement acs)
Generation object that wraps the given Element object.element - The underlying org.w3c.dom.Element object.acs - The authentication context for the element.
public Generation(org.w3c.dom.Element element,
java.lang.String systemId,
AuthenticationContextStatement acs)
Generation object that wraps the given Element object.element - The underlying org.w3c.dom.Element object.systemId - The URI string system ID for the Generation.acs - The authentication context for the element.
public Generation(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.
public Generation(org.w3c.dom.Document owner,
AuthenticationContextStatement acs,
java.lang.String mechanism)
throws AuthenticationContextException
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.mechanism - The mechanism attribute.AuthenticationContextException - If the mechanism value is invalid for this element's authentication context class.
public void setMechanism(java.lang.String mechanism)
throws AuthenticationContextException
mechanism attribute for this Generation element.mechanism - The attribute value.AuthenticationContextException - If the mechanism value is invalid for this element's authentication context class.public java.lang.String getMechanism()
mechanism attribute for this Generation element, or null if none has been set.