public class AuthnContext extends XMLElement
Constructor and Description |
---|
AuthnContext(org.w3c.dom.Document owner)
Creates a new
AuthnContext instance within the specified XML Document. |
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 |
---|---|
AuthenticationContextStatement |
getAuthenticationContextStatement()
Returns the AuthenticationContextStatement element in this structure, or null if not specified.
|
java.lang.String |
getAuthnContextClassRef()
Returns the URI included in the AuthnContextClassRef element in this structure, or null if not specified.
|
java.lang.String |
getAuthnContextStatementRef()
Returns the URI included in the AuthnContextStatementRef element in this structure, or null if not specified.
|
void |
setAuthenticationContextStatement(AuthenticationContextStatement authnContextStatement)
Sets the value of the AuthenticationContextStatement child element.
|
void |
setAuthnContextClassRef(java.lang.String accrURI)
Sets the value of the AuthnContextClassRef child element.
|
void |
setAuthnContextStatementRef(java.lang.String acsrURI)
Sets the value of the AuthnContextStatementRef child element.
|
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 AuthnContext(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
AuthnContext
instance from the given Element node.element
- A Liberty AuthnContext XML 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 Liberty AuthnContext XML element.systemId
- The URI string system ID for the AuthnContext
.org.w3c.dom.DOMException
public AuthnContext(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
AuthnContext
instance within the specified XML Document.owner
- The owner document of the new Liberty AuthnContext element.org.w3c.dom.DOMException
public void setAuthnContextClassRef(java.lang.String accrURI)
accrURI
- A URI identifying an authentication context class.public java.lang.String getAuthnContextClassRef()
public void setAuthnContextStatementRef(java.lang.String acsrURI)
acsrURI
- The URI that identifies an authentication context statement.public java.lang.String getAuthnContextStatementRef()
public void setAuthenticationContextStatement(AuthenticationContextStatement authnContextStatement)
authnContextStatement
- An AuthenticationContextStatement.public AuthenticationContextStatement getAuthenticationContextStatement()