16.2.3 The <ua:chpw/> tag
- Organization of this subsection
(1) Description
Changes the specified user's password.
(2) Tag attributes
The following table lists the tag attributes.
|
Tag attribute |
Description |
Type |
Required? |
C/E |
|---|---|---|---|---|
|
entry="JAAS-entry" |
Specifies the entry name for the JAAS configuration file. |
n/a |
R |
E |
|
userid="userid" |
Specifies the user ID for the user whose password is to be changed. |
n/a |
R# |
E |
|
useridParam="useridParam" |
Specifies the name of the HTTP request parameter that holds the user ID for the user whose password is to be changed. |
n/a |
E |
|
|
oldpw="oldpw" |
Specifies the current password in plain text. |
n/a |
R# |
E |
|
oldpwParam="oldpwParam" |
Specifies the name of the HTTP request parameter that holds the current password. |
n/a |
E |
|
|
newpw="newpw" |
Specifies the new password in plain text. |
n/a |
R# |
E |
|
newpwParam="newpwParam" |
Specifies the name of the HTTP request parameter that holds the new password. |
n/a |
E |
|
|
excepId="excepId" |
Specifies the identifier of an instance of an exception that occurs while changing the password. This instance has the scope that is specified with the excepScope tag attribute. The specified identifier should be unique for each scope. If the excepId tag attribute is omitted, exceptions that occur while changing the password are propagated outside the <ua:chpw/> tag as JspException. |
n/a |
O |
C |
|
excepScope="scope" |
Specifies the scope of the script variable that is specified with the excepId tag attribute. The scope can be specified as page, request, session, or application. For the meanings of these values, see the description for the <jsp:useBean/> tag. If the excepScope tag attribute is omitted, page is assumed. |
n/a |
O |
C |
- Legend:
-
R: Required
O: Optional
n/a: Not applicable
C: Indicates that the tag attribute value is evaluated at JSP compile time.
E: Indicates that the tag attribute value is evaluated at execution time.
- #
-
Specify either of these tag attributes.