DEPRECATED See method level Javadoc and com.bea.p13n.security.management.authentication.AtnManagerProxy
EJBObject
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:
Related Topics
RealmHelper.getProviderMBean()
EJBObject
, Remote
Method Summary |
public void |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public void |
|
public void |
|
public boolean |
|
Methods from interface javax.ejb. |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
DEPRECATED See com.bea.p13n.security.Authentication
public void authenticate(Authenticate a user. Throws anString
username,String
password)
throwsRemoteException
,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.
RemoteException
AuthenticationException
DEPRECATED See com.bea.p13n.security.management.authentication.AtnManagerProxy
publicCreates a user with the given username and password. This user will use the default UserProfileManager for profile entries.ProfileWrapper
createUser(String
username,String
password)
throwsRemoteException
,UserAlreadyExistsException
,InvalidUsernameException
,InvalidPasswordException
RemoteException
UserAlreadyExistsException
InvalidUsernameException
InvalidPasswordException
DEPRECATED User and Profile operations are no longer codependent
publicCreates a user with a specific profile type.ProfileWrapper
createUser(String
username,String
password,String
profileType)
throwsRemoteException
,UserAlreadyExistsException
,InvalidUsernameException
,InvalidPasswordException
RemoteException
UserAlreadyExistsException
InvalidUsernameException
InvalidPasswordException
DEPRECATED Multiple profile types are no longer supported
publicReturn a list of profile type names that are registered with the UserManager.String
[] getProfileTypeNames()
throwsRemoteException
RemoteException
DEPRECATED See com.bea.p13n.security.management.authentication.AtnManagerProxy
publicReturns a List of users' names matching the search expressionList
getUserNames(String
searchExpression, int limit)
throwsRemoteException
RemoteException
DEPRECATED See com.bea.p13n.usermgmt.profile.ProfileFactory
publicGet the Profile for the given user. Security constraints should restrict use of this method to administrators only.ProfileWrapper
getUserProfile(String
username)
throwsRemoteException
RemoteException
publicReturns the appropriate ProfileManager deployment for this user, based on the user's profile type. If the user exists in the realm, but does not have a profile yet, a profile will be created at this time. Security constraints should restrict use of this method to administrators only.ProfileManager
getUserProfileManager(String
username)
throwsRemoteException
RemoteException
DEPRECATED See com.bea.p13n.security.management.authentication.AtnManagerProxy
public void removeUser(Removes a user from the system. This will remove both the realm and profile records for this user. Security constraints should restrict use of this method to administrators only.String
username)
throwsRemoteException
,InvalidUsernameException
RemoteException
InvalidUsernameException
DEPRECATED See com.bea.p13n.security.management.authentication.AtnManagerProxy
public void setPassword(Sets the password for a user in the realm. Security constraints should restrict use of this method to administrators only. A user should use changePassword to change thier own password.String
username,String
password)
throwsRemoteException
,InvalidPasswordException
RemoteException
InvalidPasswordException
DEPRECATED See com.bea.p13n.security.management.authentication.AtnManagerProxy
public boolean userExists(Determines if a user exists. This method simply checks all providers for a user with the given name.String
username)
throwsRemoteException
RemoteException