public class Authenticator extends ACElement
Authenticator
element in the Liberty authentication context namespace (http://projectliberty.org/schemas/authctx/2002/05).authenticationContextClass
Constructor and Description |
---|
Authenticator(org.w3c.dom.Document owner, AuthenticationContextStatement acs)
Creates a new
Authenticator instance in the given document with the given authentication context. |
Authenticator(org.w3c.dom.Element element, AuthenticationContextStatement acs)
Creates a new
Authenticator object that wraps the given Element object. |
Authenticator(org.w3c.dom.Element element, java.lang.String systemId, AuthenticationContextStatement acs)
Creates a new
Authenticator object that wraps the given Element object. |
Modifier and Type | Method and Description |
---|---|
void |
addDigSig(DigSig ds)
Adds the
Dig-sig element to this Authenticator element. |
void |
addPreviousSession(PreviousSession ps)
Adds the
PreviousSession element to this Authenticator element. |
void |
addSharedSecretChallengeResponse(SharedSecretChallengeResponse sscr)
Adds the
SharedSecretChallengeResponse element to this Authenticator element. |
void |
addZeroKnowledge(ZeroKnowledge zk)
Adds the
ZeroKnowledge element to this Authenticator element. |
java.util.List |
getDigSigs()
Returns the
Dig-sig elements contained in this Authenticator , or null if none has been set. |
java.util.List |
getPreviousSessions()
Returns the
PreviousSession elementscontained in this Authenticator , or null if none has been set. |
java.util.List |
getSharedSecretChallengeResponses()
Returns the
SharedSecretChallengeResponse elements contained this Authenticator . |
java.util.List |
getZeroKnowledges()
Returns the
ZeroKnowledge elements contained in this Authenticator , or null if none has been set. |
getAuthenticationContextClass, setAuthenticationContextClass
addNSPrefixAttr, 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, setDefaultNSPrefix
appendChild, 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, toStringXML
public Authenticator(org.w3c.dom.Element element, AuthenticationContextStatement acs)
Authenticator
object that wraps the given Element object.element
- The underlying org.w3c.dom.Element
object.acs
- The authentication context for the element.public Authenticator(org.w3c.dom.Element element, java.lang.String systemId, AuthenticationContextStatement acs)
Authenticator
object that wraps the given Element object.element
- The underlying org.w3c.dom.Element
object.systemId
- The URI string system ID for the Authenticator
.acs
- The authentication context for the element.public Authenticator(org.w3c.dom.Document owner, AuthenticationContextStatement acs)
Authenticator
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 addSharedSecretChallengeResponse(SharedSecretChallengeResponse sscr) throws AuthenticationContextException
SharedSecretChallengeResponse
element to this Authenticator
element.sscr
- The SharedSecretChallengeResponse
element.AuthenticationContextException
- If the SharedSecretChallengeResponse
element is not valid for this authentication context class.public java.util.List getSharedSecretChallengeResponses()
SharedSecretChallengeResponse
elements contained this Authenticator
.public void addDigSig(DigSig ds) throws AuthenticationContextException
Dig-sig
element to this Authenticator
element.ds
- The Dig-sig
element.AuthenticationContextException
- If the Dig-sig
element is not valid for this authentication context class.public java.util.List getDigSigs()
Dig-sig
elements contained in this Authenticator
, or null
if none has been set.public void addZeroKnowledge(ZeroKnowledge zk) throws AuthenticationContextException
ZeroKnowledge
element to this Authenticator
element.zk
- The ZeroKnowledge
element.AuthenticationContextException
- If the ZeroKnowledge
element is not valid for this authentication context class.public java.util.List getZeroKnowledges()
ZeroKnowledge
elements contained in this Authenticator
, or null
if none has been set.public void addPreviousSession(PreviousSession ps) throws AuthenticationContextException
PreviousSession
element to this Authenticator
element.ps
- The PreviousSession
element.AuthenticationContextException
- If the PreviousSession
element is not valid for this authentication context class.public java.util.List getPreviousSessions()
PreviousSession
elementscontained in this Authenticator
, or null
if none has been set.