|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Deprecated See method level Javadoc and com.bea.p13n.security.management.authentication.AtnManagerProxy
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:
Any methods that create or remove users delegate to the WebLogic provider selected by RealmHelper.getProviderMBean. If multiple providers are configured, see RealmHelper for information about which of those providers will be used.
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 |
Methods inherited from interface javax.ejb.EJBObject |
---|
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
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 userAuthenticationException
- if the user is not a valid user or credentials are incorrectRemoteException
- because of EJB contractProfileWrapper getUserProfile(String username) throws RemoteException
username
- the username for the userRemoteException
- because of EJB contractProfileManager getUserProfileManager(String username) throws RemoteException
username
- the username for the userRemoteException
- because of EJB contractboolean userExists(String username) throws RemoteException
username
- the user to look forRemoteException
ProfileWrapper createUser(String username, String password) throws RemoteException, UserAlreadyExistsException, InvalidUsernameException, InvalidPasswordException
username
- the username for the new userpassword
- the password for the new userInvalidPasswordException
- if the password is malformed or otherwise invalidInvalidUsernameException
- if the username is malformed or otherwise invalidRemoteException
- because of EJB contractUserAlreadyExistsException
- 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 userInvalidPasswordException
- if the password is malformed or otherwise invalidInvalidUsernameException
- if the username is malformed or otherwise invalidRemoteException
- because of EJB contractUserAlreadyExistsException
- 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 userInvalidPasswordException
- if the password is malformed or otherwise invalidRemoteException
- because of EJB contractvoid removeUser(String username) throws RemoteException, InvalidUsernameException
username
- the username of the user to removeRemoteException
- because of EJB contractInvalidUsernameException
- 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 returnRemoteException
- because of EJB contractString[] getProfileTypeNames() throws RemoteException
RemoteException
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.