|
Oracle9iAS JAAS 9.0.2.0.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Realm provides access to a store of roles and users.
JAZN has separated Role Management from User Management.
This is achieved by each realm instance providing it's
own UserManager for user management, and RoleManager for
role management.
Realm interface defines methods for managing realm's meta-data(properties) and getting its UserManager and RoleManager.
UserManager
,
RoleManager
Inner Class Summary |
Type | Class |
---|---|
static interface |
Realm.LDAPProperty
LDAPProperty defines the LDAP properties applicable for creating a realm (user manager and role manager) using LDAP directory as a backing store. |
Method Summary |
Type | Method |
---|---|
RealmUser |
getAdministrator()
Returns the administrator for this realm. |
RealmRole |
getAdminRole()
Returns the admin role for this realm instance. |
String |
getName()
Returns the name of the realm |
String |
getProperty(String key)
Returns the value of a realm property given its key |
RoleManager |
getRoleManager()
Returns a reference to the RoleManager for this realm |
UserManager |
getUserManager()
Returns a reference to the UserManager for this realm |
void |
setProperty(String key,
String value)
Modify the value of a realm property given its key. |
Method Detail |
public String getName()
public RealmUser getAdministrator() throws JAZNException
JAZNException
- public RealmRole getAdminRole() throws JAZNException
JAZNException
- public RoleManager getRoleManager() throws JAZNException
public UserManager getUserManager() throws JAZNException
public String getProperty(String key)
key
- the string value of the property's namepublic void setProperty(String key, String value) throws JAZNException
key
- the string value of the property's namevalue
- new value of the propertyJAZNException
- if an
exception is encountered.SecurityException
- if the caller does
not have permission to invoke this method
|
Oracle9iAS JAAS 9.0.2.0.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |