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