|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--com.bea.ales.management.UserManager
UserManager manage users in the specified directory.
Directory.getUserManager()| Method Summary | |
User |
create(java.lang.String name)
Create the user with the specified name. |
User |
create(java.lang.String name,
java.lang.String password,
boolean withDefaultAttributes)
Creates the new user with the given name, password. |
User |
get(java.lang.String name)
Get the user with the specified name |
UserQueryResult |
getUsers(java.lang.String queryString)
Get all users that match the specified filter. |
void |
remove(java.util.Collection userNames,
boolean isCascade)
Remove all the users in the given Collection of user names. |
void |
remove(java.lang.String userName,
boolean isCascade)
Remove the user |
void |
remove(User userIn,
boolean isCascade)
Remove the user. |
void |
rename(User userIn,
java.lang.String newName)
Rename the user. |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Method Detail |
public User create(java.lang.String name)
throws ManagementException
name - the user name.
public User create(java.lang.String name,
java.lang.String password,
boolean withDefaultAttributes)
throws ManagementException
name - the name of the new user.password - the password for the new user.withDefaultAttributes - reserved only for future use.
public void rename(User userIn,
java.lang.String newName)
throws ManagementException
userIn - the user to be renamed.newName - the new name of the user.
public void remove(User userIn,
boolean isCascade)
throws ManagementException
userIn - the user to be removedisCascade - true for removing the user and all associate policies associated with him.
false for only removing the user.
public void remove(java.lang.String userName,
boolean isCascade)
throws ManagementException
userName - the name of user to be removed.isCascade - true for removing the user and all associate policies associated with him.
false for only removing the user.
public void remove(java.util.Collection userNames,
boolean isCascade)
throws ManagementException
Collection of user names.RBAC_Context associated with the Directory, a local
transaction for the remove operation for all the users is started.
userNames - The Collection of user name Strings to remove. The current
identity must have privilege to remove all the users in this Collection or
else this method will not remove ANY users.isCascade - Should the remove operation work in cascade mode? If true removes users and all
associated policy data from the system.
public User get(java.lang.String name)
throws ManagementException
name - the name of user.
public UserQueryResult getUsers(java.lang.String queryString)
throws ManagementException
queryString - the pattern string to match.UserQueryResult
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||