|
Oracle Containers for J2EE Security Java API Reference 10g Release 3 (10.1.3.1.0) B32115-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.jazn.realm.RealmManager
A RealmManager manages realms.
Realm
Constructor Summary | |
RealmManager() |
Method Summary | |
abstract Realm |
createRealm(java.lang.String name, InitRealmInfo realmInfo) Creates a Realm, it's UserManager and RoleManager using the information specified in the InitRealmInfo object. |
abstract void |
dropRealm(Realm realm) Drops a Realm given the realm instance. |
abstract void |
dropRealm(java.lang.String name) Drops a Realm of the specified name This operation will drop the entrie subtree belong the the specific realm. |
abstract Realm |
getRealm(java.lang.String name) Gets the Realm instance of the specified name |
static RealmManager |
getRealmManager() Returns an instance of RealmManager |
abstract java.util.Set |
getRealms() Gets all the realms registered with JAZN. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RealmManager()
Method Detail |
public static RealmManager getRealmManager()
public abstract java.util.Set getRealms() throws JAZNException
JAZNNamingException
- if NamingException is encountered.JAZNException
public abstract Realm getRealm(java.lang.String name) throws JAZNException
JAZNNamingException
- if NamingException is encountered.JAZNException
public abstract Realm createRealm(java.lang.String name, InitRealmInfo realmInfo) throws JAZNException
name
- name of the RealmrealmInfo
- an instance of InitRealmInfoyjava.lang.SecurityException
- if the caller does not have permission to invoke this methodJAZNObjectExistsException
- if object of the specified name already exists.JAZNNamingException
- if a naming Exception is encountered.JAZNException
- is an exception is encountered.InitRealmInfo
public abstract void dropRealm(java.lang.String name) throws JAZNException
name
- realm namejava.lang.SecurityException
- if the caller does not have permission to invoke this methodJAZNObjectNotFoundException
- if object of the specified name doesn't exist.JAZNNamingException
- if NamingException is encountered.JAZNException
- if an exception is encounteredpublic abstract void dropRealm(Realm realm) throws JAZNException
java.lang.SecurityException
- if the caller does not have permission to invoke this methodJAZNObjectNotFoundException
- if object of the specified name doesn't exist.JAZNNamingException
- if NamingException is encountered.JAZNException
- if an exception is encountered
|
Oracle Containers for J2EE Security Java API Reference 10g Release 3 (10.1.3.1.0) B32115-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |