|
||||||
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. |
java.lang.String |
getConfirmation()
Returns the confirmation. |
java.lang.String |
getCurrentPwd()
Returns the current password. |
java.lang.String |
getNewPwd()
Returns the new password. |
void |
setConfirmation(java.lang.String confirmation)
Sets the confirmation. |
void |
setCurrentPwd(java.lang.String currentPwd)
Sets the current password. |
void |
setNewPwd(java.lang.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 contextMethod Detail |
---|
public void applyChanges() throws CmsException
CmsException
- if something goes wrongpublic java.lang.String getConfirmation()
public java.lang.String getCurrentPwd()
public java.lang.String getNewPwd()
public void setConfirmation(java.lang.String confirmation)
confirmation
- the confirmation to setpublic void setCurrentPwd(java.lang.String currentPwd)
currentPwd
- the current password to setpublic void setNewPwd(java.lang.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 |