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 Generation

java.lang.Object
  extended byoracle.security.xmlsec.util.XMLNode
      extended byoracle.security.xmlsec.util.XMLElement
          extended byoracle.security.xmlsec.liberty.v11.ac.ACElement
              extended byoracle.security.xmlsec.liberty.v11.ac.Generation


public class Generation
extends ACElement

Class representing the Generation element in the Liberty authentication context namespace (http://projectliberty.org/schemas/authctx/2002/05).

Since:
1.0

Field Summary
static java.lang.String AUTOMATIC
          The enumerated "automatic" value for the Generation element's mechanism attribute.
static java.lang.String PRINCIPAL_CHOSEN
          The enumerated "principalchosen" value for the Generation element's mechanism attribute.

 

Fields inherited from class oracle.security.xmlsec.liberty.v11.ac.ACElement
authenticationContextClass

 

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

 

Constructor Summary
Generation(org.w3c.dom.Document owner, AuthenticationContextStatement acs)
          Creates a new Generation instance in the given document with the given authentication context.
Generation(org.w3c.dom.Document owner, AuthenticationContextStatement acs, java.lang.String mechanism)
          Creates a new Generation instance in the given document with the given authentication context.
Generation(org.w3c.dom.Element element, AuthenticationContextStatement acs)
          Creates a new Generation object that wraps the given Element object.
Generation(org.w3c.dom.Element element, java.lang.String systemId, AuthenticationContextStatement acs)
          Creates a new Generation object that wraps the given Element object.

 

Method Summary
 java.lang.String getMechanism()
          Returns the mechanism attribute for this Generation element, or null if none has been set.
 void setMechanism(java.lang.String mechanism)
          Sets the mechanism attribute for this Generation element.

 

Methods inherited from class oracle.security.xmlsec.liberty.v11.ac.ACElement
getAuthenticationContextClass, setAuthenticationContextClass

 

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

 

Field Detail

PRINCIPAL_CHOSEN

public static final java.lang.String PRINCIPAL_CHOSEN
The enumerated "principalchosen" value for the Generation element's mechanism attribute.
See Also:
Constant Field Values

AUTOMATIC

public static final java.lang.String AUTOMATIC
The enumerated "automatic" value for the Generation element's mechanism attribute.
See Also:
Constant Field Values

Constructor Detail

Generation

public Generation(org.w3c.dom.Element element,
                  AuthenticationContextStatement acs)
Creates a new Generation object that wraps the given Element object.
Parameters:
element - The underlying org.w3c.dom.Element object.
acs - The authentication context for the element.

Generation

public Generation(org.w3c.dom.Element element,
                  java.lang.String systemId,
                  AuthenticationContextStatement acs)
Creates a new Generation object that wraps the given Element object.
Parameters:
element - The underlying org.w3c.dom.Element object.
systemId - The URI string system ID for the Generation.
acs - The authentication context for the element.

Generation

public Generation(org.w3c.dom.Document owner,
                  AuthenticationContextStatement acs)
Creates a new Generation instance in the given document with the given authentication context.
Parameters:
owner - The owner document for this new element.
acs - The authentication context for this new element.

Generation

public Generation(org.w3c.dom.Document owner,
                  AuthenticationContextStatement acs,
                  java.lang.String mechanism)
           throws AuthenticationContextException
Creates a new Generation instance in the given document with the given authentication context.
Parameters:
owner - The owner document for this new element.
acs - The authentication context for this new element.
mechanism - The mechanism attribute.
Throws:
AuthenticationContextException - If the mechanism value is invalid for this element's authentication context class.

Method Detail

setMechanism

public void setMechanism(java.lang.String mechanism)
                  throws AuthenticationContextException
Sets the mechanism attribute for this Generation element.
Parameters:
mechanism - The attribute value.
Throws:
AuthenticationContextException - If the mechanism value is invalid for this element's authentication context class.

getMechanism

public java.lang.String getMechanism()
Returns the mechanism attribute for this Generation element, or null if none has been set.

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.