public class Identification extends ACElement
Identification element in the
Liberty authentication context namespace
(http://projectliberty.org/schemas/authctx/2002/05).| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ANONYMITY
The enumerated "anonymity" value for the
Identification
element's nym attribute. |
static java.lang.String |
PSEUDONYMITY
The enumerated "pseudonymity" value for the
Identification
element's nym attribute. |
static java.lang.String |
VERINYMITY
The enumerated "verinymity" value for the
Identification
element's nym attribute. |
authenticationContextClass| Constructor and Description |
|---|
Identification(org.w3c.dom.Document owner,
AuthenticationContextStatement acs)
Creates a new
Identification instance in the given document with
the given authentication context. |
Identification(org.w3c.dom.Document owner,
AuthenticationContextStatement acs,
java.lang.String nym)
Creates a new
Identification instance in the given document with
the given authentication context. |
Identification(org.w3c.dom.Element element,
AuthenticationContextStatement acs)
Creates a new
Identification object that wraps the given Element
object. |
Identification(org.w3c.dom.Element element,
java.lang.String systemId,
AuthenticationContextStatement acs)
Creates a new
Identification object that wraps the given Element
object. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getNym()
Returns the
nym attribute for this Identification
element, or null if none has been set. |
PhysicalVerification |
getPhysicalVerification()
Returns the
PhysicalVerification element for this
Identification, or null if none has been
set. |
WrittenConsent |
getWrittenConsent()
Returns the
WrittenConsent element for this
Identification, or null if none has been
set. |
void |
setNym(java.lang.String nym)
Sets the
nym attribute for this Identification
element. |
void |
setPhysicalVerification(PhysicalVerification pv)
Sets the
PhysicalVerification element for this
Identification
element, replacing any existing PhysicalVerification element. |
void |
setWrittenConsent(WrittenConsent wc)
Sets the
WrittenConsent element for this
Identification
element, replacing any existing WrittenConsent 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 ANONYMITY
Identification
element's nym attribute.public static final java.lang.String VERINYMITY
Identification
element's nym attribute.public static final java.lang.String PSEUDONYMITY
Identification
element's nym attribute.public Identification(org.w3c.dom.Element element,
AuthenticationContextStatement acs)
Identification object that wraps the given Element
object.element - The underlying org.w3c.dom.Element object.acs - The authentication context for the element.public Identification(org.w3c.dom.Element element,
java.lang.String systemId,
AuthenticationContextStatement acs)
Identification object that wraps the given Element
object.element - The underlying org.w3c.dom.Element object.systemId - The URI string system ID for the Identification.acs - The authentication context for the element.public Identification(org.w3c.dom.Document owner,
AuthenticationContextStatement acs)
Identification 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 Identification(org.w3c.dom.Document owner,
AuthenticationContextStatement acs,
java.lang.String nym)
throws AuthenticationContextException
Identification 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.nym - The nym attribute.AuthenticationContextException - If the nym value is invalid for this
element's authentication context class.public void setPhysicalVerification(PhysicalVerification pv) throws AuthenticationContextException
PhysicalVerification element for this
Identification
element, replacing any existing PhysicalVerification element.pv - The PhysicalVerification element.AuthenticationContextException - If the
PrincipalAuthenticationMechanism
element is not valid for this authentication
context class.public PhysicalVerification getPhysicalVerification()
PhysicalVerification element for this
Identification, or null if none has been
set.public void setWrittenConsent(WrittenConsent wc) throws AuthenticationContextException
WrittenConsent element for this
Identification
element, replacing any existing WrittenConsent element.wc - The WrittenConsent element.AuthenticationContextException - If the
WrittenConsent
element is not valid for this authentication
context class.public WrittenConsent getWrittenConsent()
WrittenConsent element for this
Identification, or null if none has been
set.public void setNym(java.lang.String nym)
throws AuthenticationContextException
nym attribute for this Identification
element.nym - The attribute value.AuthenticationContextException - If the nym value is invalid for this
element's authentication context class.public java.lang.String getNym()
nym attribute for this Identification
element, or null if none has been set.