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