|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The AdminService provides a list of available users and groups. The intention for this
service is to aid in creating AccessControlEntry
objects. It allows the code to
check whether a user or group exists before creating the entry.
Method Summary | |
void |
changePassword(char[] currentPassword,
char[] newPassword)
Deprecated. Use UserService.changePassword(char[], char[]) instead.
Change the current user's password. |
java.util.List |
getGroupNames()
Deprecated. Use GroupService.get(GroupBean) instead.
Gets a list of all the group names in the system. |
java.util.Date |
getPasswordExpirationDate()
Deprecated. Use UserService.getPasswordExpirationDate() instead.
Get the date that the current user's password will expire. |
java.util.List |
getUserIds()
Deprecated. Use UserService.getAll() instead.
Gets a list of all userids in the system where the user is active or inactive.
No retired userids are returned in the list. |
boolean |
groupExists(java.lang.String groupName)
Deprecated. Use GroupService.exists(GroupBean) instead.
Tests whether a group of the given name exists. |
boolean |
userExists(java.lang.String userid)
Deprecated. Use UserService.exists(String) instead.
Check whether a user with the given userid exists. This method will return true
if the user exists and is either active or inactive. It will return false if the
user doesn't exist or if the user exists, but is retired. |
Method Detail |
public java.util.List getGroupNames() throws RemoteException, InvalidSessionException
GroupService.get(GroupBean)
instead.
Gets a list of all the group names in the system.
RemoteException
- if a server or transport error occurs
InvalidSessionException
- if the current session is expired or has been invalidatedpublic boolean groupExists(java.lang.String groupName) throws RemoteException, InvalidSessionException
GroupService.exists(GroupBean)
instead.
Tests whether a group of the given name exists.
groupName
- name of the group to check for
RemoteException
- if a server or transport error occurs
InvalidSessionException
- if the current session is expired or has been invalidatedpublic java.util.List getUserIds() throws RemoteException, InvalidSessionException
UserService.getAll()
instead.
Gets a list of all userids in the system where the user is active or inactive.
No retired userids are returned in the list.
RemoteException
- if a server or transport error occurs
InvalidSessionException
- if the current session is expired or has been invalidatedpublic boolean userExists(java.lang.String userid) throws RemoteException, InvalidSessionException
UserService.exists(String)
instead.
Check whether a user with the given userid exists. This method will return true
if the user exists and is either active or inactive. It will return false
if the
user doesn't exist or if the user exists, but is retired.
userid
- userid of the user to check for
RemoteException
- if a server or transport error occurs
InvalidSessionException
- if the current session is expired or has been invalidatedpublic java.util.Date getPasswordExpirationDate() throws RemoteException, InvalidSessionException
UserService.getPasswordExpirationDate()
instead.
Get the date that the current user's password will expire.
RemoteException
- if a server or transport error occurs
InvalidSessionException
- if the current session is expired or has been invalidatedpublic void changePassword(char[] currentPassword, char[] newPassword) throws InvalidPasswordException, RemoteException, InvalidSessionException
UserService.changePassword(char[], char[])
instead.
Change the current user's password.
currentPassword
- current password of the current usernewPassword
- new password for the current user
RemoteException
- if a server or transport error occurs
InvalidSessionException
- if the current session is expired or has been invalidated
InvalidPasswordException
- if the current password is expired or is not valid
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |