|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport com.bea.p13n.usermgmt.taglib.UserManagementTag com.bea.p13n.usermgmt.taglib.ResultTag com.bea.p13n.usermgmt.taglib.SetPasswordTag
Corresponds to <ugm:setPassword>
.
The <ugm:setPassword>
tag updates the
password for the user corresponding to the provided
username
.
Tag Attribute |
Required |
Type |
Description |
atnProvider |
no |
String |
The name of the authentication provider in which the user will be created. The default provider will be used if not specified. Example: " |
username |
yes |
String |
The username of the user whose password is to be changed. Example: " |
password |
yes |
String |
The new user password. Example: " |
result |
yes |
String |
The name of an Integer variable to which the result of the set password operation is assigned. Possible Values:
Failure: |
Field Summary |
Fields inherited from class com.bea.p13n.usermgmt.taglib.ResultTag |
result |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
SetPasswordTag()
|
Method Summary | |
int |
doStartTag()
Go through the UserManager session bean to set the user's password. |
String |
getAtnProvider()
Get the name of the authentication provider |
String |
getPassword()
Get the new password |
String |
getUsername()
Get the name of the user to modify |
void |
release()
Reset all tag attributes |
void |
setAtnProvider(String atnProvider)
Set the name of the authentication provider |
void |
setPassword(String s)
Set the new password |
void |
setUsername(String s)
Set the name of the user to modify |
Methods inherited from class com.bea.p13n.usermgmt.taglib.ResultTag |
getResult, setResult |
Methods inherited from class com.bea.p13n.usermgmt.taglib.UserManagementTag |
getAtnManagerProxy |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SetPasswordTag()
Method Detail |
public int doStartTag() throws JspException
JspException
public String getAtnProvider()
public String getPassword()
public String getUsername()
public void release()
release
in interface Tag
release
in class ResultTag
public void setAtnProvider(String atnProvider)
public void setPassword(String s)
public void setUsername(String s)
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |