<um:setPassword> Tag

The <um:setPassword> tag updates the password for the user corresponding to the provided username. Users must be logged in to change their passwords.

Note: All User Management tags send results to the same file. If you are checking for results, include this import statement at the top of the page: <%@ page import="com.bea.p13n.usermgmt. servlets.jsp.tags.UserManagementTag- Constants" %>

Syntax

<tagName attribute="value" />

Attributes

username

Required (String) - The username of the user whose password is to be changed.

password

Required (String) - The new user password.

result

Required (Integer) - The name of an Integer variable to which the result of the set password operation is assigned.

Possible values:

Example

The following example resets a user's password.

<um:setPassword username="<%userName>" password="<%password>" result="<%result>" />