| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.security.CmsPasswordInfo
public class CmsPasswordInfo
Validating bean for changing the password.
| Constructor Summary | |
|---|---|
| CmsPasswordInfo()Default Constructor. | |
| CmsPasswordInfo(CmsObject cms)Use this Constructor if you need to check the old password of the current logged in user. | |
| Method Summary | |
|---|---|
|  void | applyChanges()Sets the new password for the current logged in user. | 
|  String | getConfirmation()Returns the confirmation. | 
|  String | getCurrentPwd()Returns the current password. | 
|  String | getNewPwd()Returns the new password. | 
|  void | setConfirmation(String confirmation)Sets the confirmation. | 
|  void | setCurrentPwd(String currentPwd)Sets the current password. | 
|  void | setNewPwd(String newPwd)Sets the new password. | 
|  void | validate()Validates that the confirmation matches the new password. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public CmsPasswordInfo()
public CmsPasswordInfo(CmsObject cms)
cms - the cms context| Method Detail | 
|---|
public void applyChanges()
                  throws CmsException
CmsException - if something goes wrongpublic String getConfirmation()
public String getCurrentPwd()
public String getNewPwd()
public void setConfirmation(String confirmation)
confirmation - the confirmation to setpublic void setCurrentPwd(String currentPwd)
currentPwd - the current password to setpublic void setNewPwd(String newPwd)
newPwd - the new password to setpublic void validate()
| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||