| 
JAAS Provider Java API Reference 10g (9.0.4.0.0) B10389-01  | ||||||||||
| 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(Node node)Creates a new JAZNWebAppConfig instance from the specified DOM node.  | |
JAZNWebAppConfig(Properties props)Creates a new JAZNWebAppConfig instance from the specified properties.  | |
| Method Summary | |
 String | 
getAuthenticationMethod() | 
 String | 
getDoAsPrivilegedMode()Returns the DoAsPrivileged mode  | 
 String | 
getProperty(String key)Gets a JAZN property value  | 
 String | 
getRunAsMode()Returns the RunAs mode  | 
static Properties | 
parseJAZNWebAppConfig(Node node)Given a DOM node representing the <jazn-web-app> element, return the parsed properties.  | 
static void | 
parseJAZNWebAppConfig(Node node, Properties props)Given a DOM node representing the <jazn-web-app> element, sets the parsed properties.  | 
 String | 
toString() | 
 void | 
writeXML(int indentation, Writer writer)Serializes the content of this JAZNWebAppConfig instance to the specified writer.  | 
 void | 
writeXML(Writer writer)Serializes the content of this JAZNWebAppConfig instance to the specified writer.  | 
| Methods inherited from class java.lang.Object | 
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public JAZNWebAppConfig(Properties props)
public JAZNWebAppConfig(Node node)
node - the DOM node from which the new JAZNWebAppConfig instance is instantiated.| Method Detail | 
public String getProperty(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 retrievedSecurityException - if the caller does not have permission to invoke this methodpublic String getAuthenticationMethod()
public String getRunAsMode()
public String getDoAsPrivilegedMode()
public static void parseJAZNWebAppConfig(Node node, Properties props)
node - the DOM node representing the <jazn-web-app> element.public static Properties parseJAZNWebAppConfig(Node node)
node - the DOM node representing the <jazn-web-app> element.
public void writeXML(Writer writer)
              throws IOException
writer - the specified writerIOException
public void writeXML(int indentation,
Writer writer)
              throws IOException
indentation - the indentation levelwriter - the specified writerIOExceptionpublic String toString()
toString in class Object 
  | 
JAAS Provider Java API Reference 10g (9.0.4.0.0) B10389-01  | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||