public class GenericClass extends AuthenticationContextStatement
Constructor and Description |
---|
GenericClass(org.w3c.dom.Document owner)
Creates a new
GenericClass . |
GenericClass(org.w3c.dom.Document owner, java.lang.String id)
Creates a new
GenericClass . |
GenericClass(org.w3c.dom.Element element)
Creates a new
GenericClass object that wraps the given org.w3c.dom.Element object. |
GenericClass(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
GenericClass object that wraps the given Element object. |
Modifier and Type | Method and Description |
---|---|
protected void |
initialize()
Initializes the authentication context class object.
|
protected boolean |
isValidAttributeValue(java.lang.String value, java.lang.String attrName, java.lang.String attrNSURI, XMLElement element)
Returns
true if the given value is valid for the given attribute of the given element for this authentication context class, or false otherwise. |
protected boolean |
isValidElement(ACElement element, XMLElement parent)
Returns
true if Element represented by the given ACElement object belongs to the list of valid elements for this authentication context class, or false otherwise. |
createAuthenticationMethod, createAuthenticator, createAuthenticatorTransportProtocol, createDeactivationCallCenter, createDigSig, createGeneration, createGoverningAgreementRef, createGoverningAgreements, createHTTP, createIdentification, createIPSec, createKeyActivation, createKeyStorage, createLength, createMobileAuthCard, createMobileDevice, createMobileNetwork, createOperationalProtection, createPassword, createPhysicalVerification, createPreviousSession, createPrincipalAuthenticationMechanism, createPrivateKeyProtection, createSecurityAudit, createSharedKeyProtection, createSharedSecretChallengeResponse, createSmartcard, createSSL, createSwitchAudit, createTechnicalProtection, createTimeSyncToken, createToken, createWrittenConsent, createWTLS, createZeroKnowledge, getAssociatedURI, getAuthenticationMethod, getClassName, getGoverningAgreements, getID, getIdentification, getInstance, getInstance, getInstance, getOperationalProtection, getTechnicalProtection, removeValidElement, setAssociatedURI, setAuthenticationMethod, setChildACElement, setClassName, setGoverningAgreements, setID, setIdentification, setOperationalProtection, setTechnicalProtection, setValidElement, validateAttributeValue, validateElement
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 GenericClass(org.w3c.dom.Element element)
GenericClass
object that wraps the given org.w3c.dom.Element
object.element
- The underlying org.w3c.dom.Element
object. This element must be an AuthenticationContextStatement
element in the Liberty authentication context namespace.public GenericClass(org.w3c.dom.Element element, java.lang.String systemId)
GenericClass
object that wraps the given Element object.element
- The underlying org.w3c.dom.Element
object. This element must be an AuthenticationContextStatement
element in the Liberty authentication context namespace.systemId
- The URI string system ID for the AuthenticationContextStatement
.public GenericClass(org.w3c.dom.Document owner)
GenericClass
.owner
- The owner document for the underlying AuthenticationContextStatement element.public GenericClass(org.w3c.dom.Document owner, java.lang.String id) throws AuthenticationContextException
GenericClass
.owner
- The owner document for the underlying AuthenticationContextStatement element.id
- The ID
attribute.AuthenticationContextException
- If the ID
value is invalid for this authentication context class.protected void initialize()
initialize
in class AuthenticationContextStatement
protected boolean isValidAttributeValue(java.lang.String value, java.lang.String attrName, java.lang.String attrNSURI, XMLElement element)
true
if the given value is valid for the given attribute of the given element for this authentication context class, or false
otherwise.isValidAttributeValue
in class AuthenticationContextStatement
value
- The attribute value.attrName
- The attributeName.atrrNSURI
- The attribute namespace.XMLElement
- The element to which the attribute belongs.protected boolean isValidElement(ACElement element, XMLElement parent)
true
if Element
represented by the given ACElement
object belongs to the list of valid elements for this authentication context class, or false
otherwise.isValidElement
in class AuthenticationContextStatement
element
- The element.parent
- The element's parent element.