BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.management.security.authentication
Interface UserPasswordEditorMBean

All Known Subinterfaces:
ActiveDirectoryAuthenticatorMBean, DefaultAuthenticatorMBean, IPlanetAuthenticatorMBean, LDAPAuthenticatorMBean, NovellAuthenticatorMBean, OpenLDAPAuthenticatorMBean, UserEditorMBean

public interface UserPasswordEditorMBean
extends weblogic.management.commo.StandardInterface

Provides two methods for changing a user's password. An Authentication provider MBean can optionally implement this MBean. The WebLogic Server Administration Console detects when an Authentication provider implements this MBean and automatically provides a tab for using these methods.

Author:
Copyright © 2002 BEA Systems, Inc. All Rights Reserved.

Method Summary
 void changeUserPassword(java.lang.String userName, java.lang.String oldPassword, java.lang.String newPassword)
          Used by a user to change his or her password.
 void resetUserPassword(java.lang.String userName, java.lang.String newPassword)
          Used by an administrator to change a user's password.
 
Methods inherited from interface weblogic.management.commo.StandardInterface
wls_getAttributeTag, wls_getConstructorTag, wls_getDisplayName, wls_getInterfaceClassName, wls_getMBeanTag, wls_getNotificationTag, wls_getObjectName, wls_getOperationTag, wls_instanceOf
 

Method Detail

changeUserPassword

public void changeUserPassword(java.lang.String userName,
                               java.lang.String oldPassword,
                               java.lang.String newPassword)
                        throws NotFoundException,
                               InvalidParameterException
Used by a user to change his or her password.

Parameters:
userName - - The name of an existing user.
oldPassword - - The current password for the user.
newPassword - - The new password for the user. The Authentication provider determines the syntax requirements for passwords.
Throws:
NotFoundException -  
InvalidParameterException -  

resetUserPassword

public void resetUserPassword(java.lang.String userName,
                              java.lang.String newPassword)
                       throws NotFoundException,
                              InvalidParameterException
Used by an administrator to change a user's password.

Parameters:
userName - - The name of an existing user.
newPassword - - The new password for the user. The Authentication provider determines the syntax requirements for passwords.
Throws:
NotFoundException -  
InvalidParameterException -  

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81b