|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.user.jsp.beans.RealmConfigBean
Class for managing Realm configuration.
Fields inherited from interface com.beasys.commerce.axiom.contact.UserManagementConstants |
ANONYMOUS_PROFILE,
CACHED_PROFILE,
DEFAULT_SCOPE,
DEFAULT_SUCCESSOR,
DEFAULT_SUCCESSOR_HOME,
DEFAULT_SUCCESSOR_JNDI,
DEFAULT_SUCCESSOR_PK,
DEFAULT_USER,
DEFAULT_USER_HOME,
DEFAULT_USER_JNDI,
DEFAULT_USER_PK,
GROUP,
GROUP_ENTITY_HOME,
PROFILE_MGR,
PROFILE_SUCCESSOR,
PROFILE_USER,
REALM_CONFIG,
RESERVED_SCOPE,
USER,
USER_ENTITY_HOME,
USER_MGR |
Fields inherited from interface com.beasys.commerce.foundation.property.SchemaManagerConstants |
APPLICATION_INIT_TYPE,
CATALOG_TYPE,
CONTENT_TYPE,
REQUEST_TYPE,
SCHEMA,
SCHEMA_GROUPS,
SESSION_TYPE,
USER_TYPE |
Constructor Summary | |
RealmConfigBean()
|
Method Summary | |
java.lang.String |
cleanupMisconfiguredUsers()
Removes misconfigured users (those found in the database but not in the realm) from the database. |
java.lang.String |
configureGroups(java.util.Enumeration enum)
Takes the parameters from an HTTP request and configures groups according to the request's parameters. |
int |
getConfiguredGroupCount()
Returns the number of groups that have been configured in the system. |
int |
getConfiguredUserCount()
Returns a count of the realm users configured for personalization use. |
java.lang.String |
getGroupName()
|
java.util.ArrayList |
getMisconfiguredDBGroups()
Returns all the groups that are currently in the database but not the realm. |
java.lang.String[] |
getMisconfiguredUsers()
Returns the usernames that exist in the database, but not in the realm. |
java.util.ArrayList |
getSelectedRealmGroups()
Returns all the groups that are in the realm and selected for use. |
java.util.ArrayList |
getUnselectedRealmGroups()
Returns all the groups that are in the realm but not selected for use. |
java.lang.String |
mapGroup(java.lang.String oldGroupName,
java.lang.String newGroupName)
Maps oldGroupName to newGroupName and returns an appropriate error message, if needed. |
void |
setGroupName(java.lang.String s)
|
java.lang.String |
unregisterGroup()
Removes all references to a group. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public RealmConfigBean()
Method Detail |
public java.lang.String mapGroup(java.lang.String oldGroupName, java.lang.String newGroupName)
null
if no errorpublic int getConfiguredUserCount()
public java.lang.String[] getMisconfiguredUsers()
public java.lang.String cleanupMisconfiguredUsers()
public int getConfiguredGroupCount()
public java.util.ArrayList getUnselectedRealmGroups()
public java.util.ArrayList getSelectedRealmGroups()
public java.util.ArrayList getMisconfiguredDBGroups()
public java.lang.String configureGroups(java.util.Enumeration enum)
enum
- the enumeration of HTTP request parameterspublic java.lang.String unregisterGroup()
public void setGroupName(java.lang.String s)
public java.lang.String getGroupName()
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |