|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserManager
Remote Interface for the UserManager session bean. This is the synchronization point between user profile support and WebLogic security. Any user management operations should be done here, rather than through the security APIs directly. This class depends on the following EJB environment in the ejb deployment descriptor:
RealmHelper.getProviderMBean()
Method Summary | |
---|---|
void |
authenticate(String username,
String password)
Deprecated See com.bea.p13n.security.Authentication |
ProfileWrapper |
createUser(String username,
String password)
Deprecated See com.bea.p13n.security.management.authentication.AtnManagerProxy |
ProfileWrapper |
createUser(String username,
String password,
String profileType)
Deprecated User and Profile operations are no longer codependent |
String[] |
getProfileTypeNames()
Deprecated Multiple profile types are no longer supported |
List |
getUserNames(String searchExpression,
int limit)
Deprecated See com.bea.p13n.security.management.authentication.AtnManagerProxy |
ProfileWrapper |
getUserProfile(String username)
Deprecated See com.bea.p13n.usermgmt.profile.ProfileFactory |
ProfileManager |
getUserProfileManager(String username)
Deprecated Returns the appropriate ProfileManager deployment for this user, based on the user's profile type. |
void |
removeUser(String username)
Deprecated See com.bea.p13n.security.management.authentication.AtnManagerProxy |
void |
setPassword(String username,
String password)
Deprecated See com.bea.p13n.security.management.authentication.AtnManagerProxy |
boolean |
userExists(String username)
Deprecated See com.bea.p13n.security.management.authentication.AtnManagerProxy |
Method Detail |
---|
void authenticate(String username, String password) throws RemoteException, AuthenticationException
AuthenticationException
if the user is not a
valid user or credentials are invalid. This method is only used to
verify a username and password, it does not do anything to :log in" or
set the user as the "current" system user.
username
- the username for the userpassword
- the password for the user
AuthenticationException
- if the user is not a valid user or
credentials are incorrect
RemoteException
- because of EJB contractProfileWrapper getUserProfile(String username) throws RemoteException
username
- the username for the user
RemoteException
- because of EJB contractProfileManager getUserProfileManager(String username) throws RemoteException
username
- the username for the user
RemoteException
- because of EJB contractboolean userExists(String username) throws RemoteException
username
- the user to look for
RemoteException
ProfileWrapper createUser(String username, String password) throws RemoteException, UserAlreadyExistsException, InvalidUsernameException, InvalidPasswordException
username
- the username for the new userpassword
- the password for the new user
InvalidPasswordException
- if the password is malformed or
otherwise invalid
InvalidUsernameException
- if the username is malformed or
otherwise invalid
RemoteException
- because of EJB contract
UserAlreadyExistsException
- if the username is already in useProfileWrapper createUser(String username, String password, String profileType) throws RemoteException, UserAlreadyExistsException, InvalidUsernameException, InvalidPasswordException
username
- the username for the new userpassword
- the password for the new userprofileType
- the name of the profile type for the new user
InvalidPasswordException
- if the password is malformed or
otherwise invalid
InvalidUsernameException
- if the username is malformed or
otherwise invalid
RemoteException
- because of EJB contract
UserAlreadyExistsException
- if the username is already in usevoid setPassword(String username, String password) throws RemoteException, InvalidPasswordException
username
- the username of the userpassword
- the new password for the user
InvalidPasswordException
- if the password is malformed or
otherwise invalid
RemoteException
- because of EJB contractvoid removeUser(String username) throws RemoteException, InvalidUsernameException
username
- the username of the user to remove
RemoteException
- because of EJB contract
InvalidUsernameException
- if the user is protected and cannot be deletedList getUserNames(String searchExpression, int limit) throws RemoteException
searchExpression
- a wildcard search expressionlimit
- a limit of results to return
RemoteException
- because of EJB contractString[] getProfileTypeNames() throws RemoteException
RemoteException
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |