Class ChangePasswordRendererUtil
- java.lang.Object
-
- com.hybris.backoffice.widgets.accountsettings.changepassword.ChangePasswordRendererUtil
-
public class ChangePasswordRendererUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ChangePasswordRendererUtil()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancheckPassword(User user, java.lang.String password)voidcreateNoticeLine(org.zkoss.zk.ui.Component parent, java.lang.String labelKey)org.zkoss.zul.TextboxcreatePasswordLine(org.zkoss.zk.ui.Component parent, java.lang.String labelKey)voidcreateValidationInfoLine(org.zkoss.zk.ui.Component parent)protected ModelServicegetModelService()protected PasswordPolicyServicegetPasswordPolicyService()protected org.zkoss.zul.DivgetValidationDiv()voidonConfirmPwdTextChanged(UserModel user, org.zkoss.zul.impl.InputElement confirmPwdInput, PasswordChangeData passwordChangeData)voidonNewPasswordTextChanged(UserModel user, org.zkoss.zul.impl.InputElement newPwdInput, PasswordChangeData passwordChangeData)voidonOldPasswordTextChanged(org.zkoss.zul.impl.InputElement oldPwdInput, PasswordChangeData passwordChangeData)voidsetModelService(ModelService modelService)voidsetPasswordPolicyService(PasswordPolicyService passwordPolicyService)booleanvalidateOldPassword(UserModel user, PasswordChangeData passwordChangeData)
-
-
-
Method Detail
-
setModelService
public void setModelService(ModelService modelService)
-
getModelService
protected ModelService getModelService()
-
setPasswordPolicyService
public void setPasswordPolicyService(PasswordPolicyService passwordPolicyService)
-
getPasswordPolicyService
protected PasswordPolicyService getPasswordPolicyService()
-
createNoticeLine
public void createNoticeLine(org.zkoss.zk.ui.Component parent, java.lang.String labelKey)
-
createValidationInfoLine
public void createValidationInfoLine(org.zkoss.zk.ui.Component parent)
-
createPasswordLine
public org.zkoss.zul.Textbox createPasswordLine(org.zkoss.zk.ui.Component parent, java.lang.String labelKey)
-
onOldPasswordTextChanged
public void onOldPasswordTextChanged(org.zkoss.zul.impl.InputElement oldPwdInput, PasswordChangeData passwordChangeData)
-
onNewPasswordTextChanged
public void onNewPasswordTextChanged(UserModel user, org.zkoss.zul.impl.InputElement newPwdInput, PasswordChangeData passwordChangeData)
-
onConfirmPwdTextChanged
public void onConfirmPwdTextChanged(UserModel user, org.zkoss.zul.impl.InputElement confirmPwdInput, PasswordChangeData passwordChangeData)
-
checkPassword
protected boolean checkPassword(User user, java.lang.String password) throws EJBPasswordEncoderNotFoundException
-
getValidationDiv
protected org.zkoss.zul.Div getValidationDiv()
-
validateOldPassword
public boolean validateOldPassword(UserModel user, PasswordChangeData passwordChangeData)
-
-