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