|
Oracle Security Developer Tools Liberty 1.1 Java API Reference 11g (11.1.1) E10670-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.xmlsec.util.XMLNode
oracle.security.xmlsec.util.XMLElement
oracle.security.xmlsec.liberty.v11.ac.AuthenticationContextStatement
oracle.security.xmlsec.liberty.v11.ac.GenericClass
public class GenericClass
Class representing a generic Liberty authentication context class.
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.util.XMLElement |
---|
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 |
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 |
---|
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.Method Detail |
---|
protected void initialize()
initialize
in class AuthenticationContextStatement
protected boolean isValidAttributeValue(java.lang.String value, java.lang.String attrName, java.lang.String attrNSURI, oracle.security.xmlsec.util.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, oracle.security.xmlsec.util.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.
|
Oracle Security Developer Tools Liberty 1.1 Java API Reference 11g (11.1.1) E10670-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |