Oracle9iAS JAAS 9.0.2.0.0

oracle.security.jazn
Class JAZNConfig

java.lang.Object
  |
  +--oracle.security.jazn.JAZNConfig

public class JAZNConfig
extends Object

JAZNConfiguration


Constructor Summary
JAZNConfig(org.w3c.dom.Node node)
           
JAZNConfig(Properties props)
           
 
Method Summary
TypeMethod
static JAZNConfig getJAZNConfig()
           
 oracle.security.jazn.spi.JAZNProvider getJAZNProvider()
           
 PermissionClassManager getPermissionClassManager()
          Returns the PermissionClassManager object.
 int getPersistenceMode()
          Returns the JAZN-level persistence mode.
 JAZNPolicy getPolicy()
          Returns the installed JAZNPolicy object.
 PolicyManager getPolicyManager()
          Returns the PolicyManager object.
 PrincipalClassManager getPrincipalClassManager()
          Returns the PrincipalClassManager object.
 String getProperty(String key)
          Gets a JAZN property value
 int getProviderType()
           
 RealmManager getRealmManager()
          Returns the RealmManager object.
 void initJAZNProvider()
           
static Properties parseJAZNConfig(org.w3c.dom.Node node)
           
static Properties parseJAZNWebApp(org.w3c.dom.Node node)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAZNConfig

public JAZNConfig(Properties props)

JAZNConfig

public JAZNConfig(org.w3c.dom.Node node)
Method Detail

initJAZNProvider

public void initJAZNProvider()

getJAZNProvider

public oracle.security.jazn.spi.JAZNProvider getJAZNProvider()

getProviderType

public int getProviderType()
                    throws JAZNException

getRealmManager

public RealmManager getRealmManager()
Returns the RealmManager object.

This method first calls SecurityManager.checkPermission with JAZNPermission("getRealmManager") to ensure that the caller has permission to get the RealmManager object.

Returns:
the RealmManager object.
Throws:
SecurityException - if the caller does not have permission to invoke this method

getPolicyManager

public PolicyManager getPolicyManager()
Returns the PolicyManager object.

getPermissionClassManager

public PermissionClassManager getPermissionClassManager()
Returns the PermissionClassManager object.

getPrincipalClassManager

public PrincipalClassManager getPrincipalClassManager()
Returns the PrincipalClassManager object.

getPolicy

public JAZNPolicy getPolicy()
Returns the installed JAZNPolicy object.

This method first calls SecurityManager.checkPermission with JAZNPermission("getPolicy") to ensure that the caller has permission to get the RealmManager object.

Returns:
the installed JAZNPolicy object.
Throws:
SecurityException - if the caller does not have permission to invoke this method

getPersistenceMode

public int getPersistenceMode()
Returns the JAZN-level persistence mode.

Note that this may be overridden by component-level persistence mode settings.

Returns:
the JAZN-level persistence mode

getProperty

public String getProperty(String key)
Gets a JAZN property value

This method first calls SecurityManager.checkPermission with JAZNPermission("getProperty."+key) to ensure the caller has permission to retrive the JAZN property value.

Parameters:
key - the key of the property being retrieved
Returns:
the value associated with the specified key
Throws:
SecurityException - if the caller does not have permission to invoke this method

parseJAZNWebApp

public static Properties parseJAZNWebApp(org.w3c.dom.Node node)

parseJAZNConfig

public static Properties parseJAZNConfig(org.w3c.dom.Node node)

getJAZNConfig

public static JAZNConfig getJAZNConfig()

Oracle9iAS JAAS 9.0.2.0.0

Copyright 2001, Oracle Corporation. All Rights Reserved.