public class AuthnContext extends XMLElement
| Constructor and Description |
|---|
AuthnContext(org.w3c.dom.Document owner)
Creates a new
AuthnContext instance. |
AuthnContext(org.w3c.dom.Element element)
Creates a new
AuthnContext instance from the given Element node. |
AuthnContext(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
AuthnContext instance from the given Element node. |
| Modifier and Type | Method and Description |
|---|---|
void |
addAuthenticatingAuthority(java.lang.String uri)
Adds an authenticating authority.
|
java.util.List |
getAuthenticatingAuthoritys()
Returns the list of authenticating authorities.
|
java.lang.String |
getAuthnContextClassRef()
Return the authentication context class reference.
|
org.w3c.dom.Element |
getAuthnContextDecl()
Return the authentication context declaration.
|
java.lang.String |
getAuthnContextDeclRef()
Return the authentication context declaration reference.
|
void |
setAuthnContextDecl(org.w3c.dom.Element element)
Adds an authenticating context declaration.
|
void |
setAuthnContextDecl(java.lang.String classRefURI, org.w3c.dom.Element element)
Adds an authenticating context declaration.
|
void |
setAuthnContextDeclRef(java.lang.String uri)
Adds an authenticating context declaration reference.
|
void |
setAuthnContextDeclRef(java.lang.String classRefURI, java.lang.String uri)
Adds an authenticating context class and declaration reference.
|
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, 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, toStringXML
public AuthnContext(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
AuthnContext instance from the given Element node.element - A AuthnContext element.org.w3c.dom.DOMException
public AuthnContext(org.w3c.dom.Element element,
java.lang.String systemId)
throws org.w3c.dom.DOMException
AuthnContext instance from the given Element node.element - A AuthnContext element.systemId - The URI string system ID for the AuthnContext element.org.w3c.dom.DOMException
public AuthnContext(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
AuthnContext instance.owner - The owner document of the new AuthnContext instance.org.w3c.dom.DOMException
public void setAuthnContextDeclRef(java.lang.String classRefURI,
java.lang.String uri)
Invoking this method will remove any existing AuthnContextClassRef, AuthnContextDeclRef and AuthnContextDecl elements.
classRefURI - An URI reference to an authentication context class.uri - An optional URI reference to an authentication context declaration.
public void setAuthnContextDecl(java.lang.String classRefURI,
org.w3c.dom.Element element)
Invoking this method will remove any existing AuthnContextClassRef, AuthnContextDeclRef and AuthnContextDecl elements.
classRefURI - A URI reference to an authentication context class.element - An optional Element declaring the authentication context.public void setAuthnContextDeclRef(java.lang.String uri)
Invoking this method will remove any existing AuthnContextClassRef, AuthnContextDeclRef and AuthnContextDecl elements.
uri - A URI reference to an authentication context declaration.public void setAuthnContextDecl(org.w3c.dom.Element element)
Invoking this method will remove any existing AuthnContextClassRef or AuthnContextDeclRef or AuthnContextDecl elements.
element - An Element declaring the authentication context.public java.lang.String getAuthnContextClassRef()
URI reference to the authentication context class or null if not specified.public java.lang.String getAuthnContextDeclRef()
URI reference to the authentication context declaration or null if not specified.public org.w3c.dom.Element getAuthnContextDecl()
Element specifying the authentication context declaration or null if not specified.public void addAuthenticatingAuthority(java.lang.String uri)
uri - A URI representing an authenticating authority.public java.util.List getAuthenticatingAuthoritys()
List containing String objects representing URIs. These URIs define authenticating authorities..