oracle.security.jazn.realm
Class InitRealmInfo
java.lang.Object
|
+--oracle.security.jazn.realm.InitRealmInfo
- public class InitRealmInfo
- extends Object
InitRealmInfo class is used as a placeholder for specifying realm properties
when creating a new Realm.
- See Also:
RealmManager.createRealm
InitRealmInfo
public InitRealmInfo(String realmType,
String adminUser,
String adminRole,
Hashtable attributes)
- Construct a InitRealmInfo object.
param realmType specify of the type defined in RealmType interface.
- Parameters:
adminUser
- the name of the realm administrator to be createdadminRole
- the role to be granted the admin privileges for this realm.attribtes
- a possibly null table containing the meta
data in
pairs for the realm.
getRealmType
public String getRealmType()
- Get the realm type.
getAttributes
public Hashtable getAttributes()
- Get attributes for the InitRealmInfo.
- Returns:
- a Hashtable.
setUserMgrImplClass
public void setUserMgrImplClass(Class userMgrImplClass)
- Set the implementation class for the realm's user manager.
Invoking this method is optional. By default, a JAZN User Manager
will be set based on the realm type specified in the InitRealmInfo constructor.
- Parameters:
userMgrImplClass
- implementation class for the realm's user manager
getUserMgrImplClass
public Class getUserMgrImplClass()
- Get the implementation class for the realm's user manager
setRoleMgrImplClass
public void setRoleMgrImplClass(Class roleMgrImplClass)
- Set the implementation class for the realm's role manager.
Invoking this method is optional. By default, a JAZN Role Manager
will be set based on the realm type specified to the InitRealmInfo constructor.
- Parameters:
roleMgrImplClass
- implementation class for the realm's role manager
getRoleMgrImplClass
public Class getRoleMgrImplClass()
- Get the implementation class for the realm's role manager
getAdminUser
public String getAdminUser()
- Return admin user name
getAdminRole
public String getAdminRole()
- Return admin role name
Copyright 2001, Oracle Corporation. All Rights Reserved.