Oracle Security Developer Tools Liberty 1.1 Java API Reference
10g (10.1.4.0.1)

B28179-01


oracle.security.xmlsec.liberty.v11.ac
Class GenericClass

java.lang.Object
  extended byoracle.security.xmlsec.util.XMLNode
      extended byoracle.security.xmlsec.util.XMLElement
          extended byoracle.security.xmlsec.liberty.v11.ac.AuthenticationContextStatement
              extended byoracle.security.xmlsec.liberty.v11.ac.GenericClass


public class GenericClass
extends AuthenticationContextStatement

Class representing a generic Liberty authentication context class.

Since:
1.0

Field Summary

 

Fields inherited from class oracle.security.xmlsec.util.XMLNode
node, systemId

 

Constructor Summary
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.

 

Method Summary
protected  void initialize()
          Initializes the authentication context class object.
protected  boolean isValidAttributeValue(java.lang.String value, java.lang.String attrName, java.lang.String attrNSURI, oracle.security.xmlsec.util.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, oracle.security.xmlsec.util.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.

 

Methods inherited from class oracle.security.xmlsec.liberty.v11.ac.AuthenticationContextStatement
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

 

Methods inherited from class oracle.security.xmlsec.util.XMLElement
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefix

 

Methods inherited from class oracle.security.xmlsec.util.XMLNode
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

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

GenericClass

public GenericClass(org.w3c.dom.Element element)
Creates a new GenericClass object that wraps the given org.w3c.dom.Element object.
Parameters:
element - The underlying org.w3c.dom.Element object. This element must be an AuthenticationContextStatement element in the Liberty authentication context namespace.

GenericClass

public GenericClass(org.w3c.dom.Element element,
                    java.lang.String systemId)
Creates a new GenericClass object that wraps the given Element object.
Parameters:
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.

GenericClass

public GenericClass(org.w3c.dom.Document owner)
Creates a new GenericClass.
Parameters:
owner - The owner document for the underlying AuthenticationContextStatement element.

GenericClass

public GenericClass(org.w3c.dom.Document owner,
                    java.lang.String id)
             throws AuthenticationContextException
Creates a new GenericClass.
Parameters:
owner - The owner document for the underlying AuthenticationContextStatement element.
id - The ID attribute.
Throws:
AuthenticationContextException - If the ID value is invalid for this authentication context class.

Method Detail

initialize

protected void initialize()
Initializes the authentication context class object.
Specified by:
initialize in class AuthenticationContextStatement

isValidAttributeValue

protected boolean isValidAttributeValue(java.lang.String value,
                                        java.lang.String attrName,
                                        java.lang.String attrNSURI,
                                        oracle.security.xmlsec.util.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.
Overrides:
isValidAttributeValue in class AuthenticationContextStatement
Parameters:
value - The attribute value.
attrName - The attributeName.

isValidElement

protected boolean isValidElement(ACElement element,
                                 oracle.security.xmlsec.util.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.
Overrides:
isValidElement in class AuthenticationContextStatement
Parameters:
element - The element.
parent - The element's parent element.

Oracle Security Developer Tools Liberty 1.1 Java API Reference
10g (10.1.4.0.1)

B28179-01


Copyright © 2005, 2006 , Oracle. All rights reserved.