|
Oracle Application Server JAAS Provider API Reference 10g Release 2 (10.1.2) B14019-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.jazn.JAZNWebAppConfig
This class represents a <jazn-web-app> Configuration instance.
Constructor Summary | |
JAZNWebAppConfig(org.w3c.dom.Node node) Creates a new JAZNWebAppConfig instance from the specified DOM node. |
|
JAZNWebAppConfig(java.util.Properties props) Creates a new JAZNWebAppConfig instance from the specified properties. |
Method Summary | |
java.lang.String |
getAuthenticationMethod() |
java.lang.String |
getDoAsPrivilegedMode() Returns the DoAsPrivileged mode |
java.lang.String |
getProperty(java.lang.String key) Gets a JAZN property value |
java.lang.String |
getRunAsMode() Returns the RunAs mode |
static java.util.Properties |
parseJAZNWebAppConfig(org.w3c.dom.Node node) Given a DOM node representing the <jazn-web-app> element, return the parsed properties. |
static void |
parseJAZNWebAppConfig(org.w3c.dom.Node node, java.util.Properties props) Given a DOM node representing the <jazn-web-app> element, sets the parsed properties. |
java.lang.String |
toString() |
void |
writeXML(int indentation, java.io.Writer writer) Serializes the content of this JAZNWebAppConfig instance to the specified writer. |
void |
writeXML(java.io.Writer writer) Serializes the content of this JAZNWebAppConfig instance to the specified writer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JAZNWebAppConfig(java.util.Properties props)
public JAZNWebAppConfig(org.w3c.dom.Node node)
node
- the DOM node from which the new JAZNWebAppConfig instance is instantiated.Method Detail |
public java.lang.String getProperty(java.lang.String key)
This method first calls SecurityManager.checkPermission with JAZNPermission("getProperty."+key) to ensure the caller has permission to retrive the JAZN property value.
key
- the key of the property being retrievedjava.lang.SecurityException
- if the caller does not have permission to invoke this methodpublic java.lang.String getAuthenticationMethod()
public java.lang.String getRunAsMode()
public java.lang.String getDoAsPrivilegedMode()
public static void parseJAZNWebAppConfig(org.w3c.dom.Node node, java.util.Properties props)
node
- the DOM node representing the <jazn-web-app> element.public static java.util.Properties parseJAZNWebAppConfig(org.w3c.dom.Node node)
node
- the DOM node representing the <jazn-web-app> element.public void writeXML(java.io.Writer writer) throws java.io.IOException
writer
- the specified writerjava.io.IOException
public void writeXML(int indentation, java.io.Writer writer) throws java.io.IOException
indentation
- the indentation levelwriter
- the specified writerjava.io.IOException
public java.lang.String toString()
|
Oracle Application Server JAAS Provider API Reference 10g Release 2 (10.1.2) B14019-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |