|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Note: A code example has been added that shows how to use the Servlet run-as tag, administrative privileges, and security provider MBeans to allow a user to change their own password. This code example is available on the Internet at http://dev2dev.bea.com/codelibrary/code/pwchange.jsp.
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 |
public void changeUserPassword(java.lang.String userName, java.lang.String oldPassword, java.lang.String newPassword) throws NotFoundException, InvalidParameterException
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.public void resetUserPassword(java.lang.String userName, java.lang.String newPassword) throws NotFoundException, InvalidParameterException
userName
- - The name of an existing user.newPassword
- - The new password for the user. The Authentication provider determines the syntax requirements for passwords.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |