|
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.realm.RealmManager
A RealmManager manages realms.
Realm
Constructor Summary | |
RealmManager() |
Method Summary | |
abstract Realm |
createRealm(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(String name) Drops a Realm of the specified name This operation will drop the entrie subtree belong the the specific realm. |
abstract Realm |
getRealm(String name) Gets the Realm instance of the specified name |
static RealmManager |
getRealmManager() Returns an instance of RealmManager |
abstract Set |
getRealms() Gets all the realms registered with JAZN. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RealmManager()
Method Detail |
public static RealmManager getRealmManager()
public abstract Set getRealms() throws JAZNException
JAZNNamingException
- if NamingException is encountered.JAZNException
public abstract Realm getRealm(String name) throws JAZNException
JAZNNamingException
- if NamingException is encountered.JAZNException
public abstract Realm createRealm(String name, InitRealmInfo realmInfo) throws JAZNException
By default, the specified realm administrator will be granted the privileges to administor the realm instance. If an adminRole is specified, the administrative privileges will be granted to the adminRole instead. For a external realm: the specified users searchbase property will be used to locate the administrator with the name specified in adminUser. And the roles searchbase property will be used to locate the admin role with the the name specified in adminRole.
name
- name of the RealmrealmInfo
- an instance of InitRealmInfoySecurityException
- 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(String name) throws JAZNException
name
- realm nameSecurityException
- 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
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
|
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 |