public class TimeSyncToken extends ACElement
TimeSyncToken element in the Liberty authentication context namespace (http://projectliberty.org/schemas/authctx/2002/05).| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
HARDWARE
The enumerated "hardware" value for the
TimeSyncToken element's deviceType attribute. |
static java.lang.String |
SOFTWARE
The enumerated "software" value for the
TimeSyncToken element's deviceType attribute. |
authenticationContextClass| Constructor and Description |
|---|
TimeSyncToken(org.w3c.dom.Document owner, AuthenticationContextStatement acs)
Creates a new
TimeSyncToken instance in the given document with the given authentication context. |
TimeSyncToken(org.w3c.dom.Document owner, AuthenticationContextStatement acs, java.lang.String deviceType, int seedLength, boolean deviceInHand)
Creates a new
TimeSyncToken instance in the given document with the given authentication context. |
TimeSyncToken(org.w3c.dom.Element element, AuthenticationContextStatement acs)
Creates a new
TimeSyncToken object that wraps the given Element object. |
TimeSyncToken(org.w3c.dom.Element element, java.lang.String systemId, AuthenticationContextStatement acs)
Creates a new
TimeSyncToken object that wraps the given Element object. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getDeviceInHand()
Returns the
deviceInHand attribute for this TimeSuncToken element, or null if none has been set. |
java.lang.String |
getDeviceType()
Returns the
deviceType attribute for this TimeSuncToken element, or null if none has been set. |
java.lang.Integer |
getSeedLength()
Returns the
seedLength attribute for this TimeSyncToken element, or null if none has been set. |
void |
setDeviceInHand(boolean deviceInHand)
Sets the
deviceInHand attribute for this TimeSyncToken element. |
void |
setDeviceType(java.lang.String deviceType)
Sets the
DeviceType attribute for this TimeSyncToken element. |
void |
setSeedLength(int seedLength)
Sets the
seedLength attribute for this TimeSyncToken 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 HARDWARE
TimeSyncToken element's deviceType attribute.public static final java.lang.String SOFTWARE
TimeSyncToken element's deviceType attribute.
public TimeSyncToken(org.w3c.dom.Element element,
AuthenticationContextStatement acs)
TimeSyncToken object that wraps the given Element object.element - The underlying org.w3c.dom.Element object.acs - The authentication context for the element.
public TimeSyncToken(org.w3c.dom.Element element,
java.lang.String systemId,
AuthenticationContextStatement acs)
TimeSyncToken object that wraps the given Element object.element - The underlying org.w3c.dom.Element object.systemId - The URI string system ID for the TimeSyncToken.acs - The authentication context for the element.
public TimeSyncToken(org.w3c.dom.Document owner,
AuthenticationContextStatement acs)
TimeSyncToken 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 TimeSyncToken(org.w3c.dom.Document owner,
AuthenticationContextStatement acs,
java.lang.String deviceType,
int seedLength,
boolean deviceInHand)
throws AuthenticationContextException
TimeSyncToken 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.deviceType - The DeviceType attribute.seedLength - The SeedLength attribute.deviceInHand - The DeviceInHand attribute.AuthenticationContextException - If the any of the deviceType, seeLength or deviceInHand values are invalid for this element's authentication context class.
public void setDeviceType(java.lang.String deviceType)
throws AuthenticationContextException
DeviceType attribute for this TimeSyncToken element.deviceType - The attribute value.AuthenticationContextException - If the deviceType value is invalid for this element's authentication context class.public java.lang.String getDeviceType()
deviceType attribute for this TimeSuncToken element, or null if none has been set.
public void setSeedLength(int seedLength)
throws AuthenticationContextException
seedLength attribute for this TimeSyncToken element.seedLength - The attribute value.AuthenticationContextException - If the seedLength value is invalid for this element's authentication context class.public java.lang.Integer getSeedLength()
seedLength attribute for this TimeSyncToken element, or null if none has been set.
public void setDeviceInHand(boolean deviceInHand)
throws AuthenticationContextException
deviceInHand attribute for this TimeSyncToken element.deviceInHand - The attribute value.AuthenticationContextException - If the deviceInHand value is invalid for this element's authentication context class.public java.lang.Boolean getDeviceInHand()
deviceInHand attribute for this TimeSuncToken element, or null if none has been set.