|
Oracle Application Server JAAS Provider API Reference 10g Release 2 (10.1.2) B14019-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | 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
Nested Class Summary | |
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 | |
RealmUser |
getAdministrator() Returns the administrator for this realm. |
RealmRole |
getAdminRole() Returns the admin role for this realm instance. |
java.lang.String |
getFullName() Returns the fullName of the realm |
java.lang.String |
getName() Returns the name of the realm |
java.lang.String |
getProperty(java.lang.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(java.lang.String key, java.lang.String value) Modify the value of a realm property given its key. |
Method Detail |
public java.lang.String getName()
public java.lang.String getFullName()
public RealmUser getAdministrator() throws JAZNException
JAZNException
public RealmRole getAdminRole() throws JAZNException
JAZNException
public RoleManager getRoleManager() throws JAZNException
JAZNException
public UserManager getUserManager() throws JAZNException
JAZNException
public java.lang.String getProperty(java.lang.String key)
key
- the string value of the property's namepublic void setProperty(java.lang.String key, java.lang.String value) throws JAZNException
key
- the string value of the property's namevalue
- new value of the propertyJAZNException
- if an exception is encountered.java.lang.SecurityException
- if the caller does not have permission to invoke this method
|
Oracle Application Server JAAS Provider API Reference 10g Release 2 (10.1.2) B14019-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |