◆ doFinally()
void org.turro.auth.PasswordControl.doFinally |
( |
| ) |
|
Reimplemented from org.turro.elephant.TemplateControl.
Definition at line 77 of file PasswordControl.java.
78 redir = Executions.getCurrent().getParameter(
"redir");
79 if(Strings.isBlank(redir)) {
80 redir = ElContext.extractPath(ZkossElephant.getCurrent().getHttpServletRequest().getServletPath());
◆ onChange()
void org.turro.auth.PasswordControl.onChange |
( |
| ) |
|
Definition at line 62 of file PasswordControl.java.
63 if(!Strings.isBlank(password.getValue()) && password.getValue().equals(repeatpass.getValue())) {
64 IContact contact = Authentication.getIContact();
65 contact.setPassword(password.getText(), repeatpass.getText());
66 contact.applyChanges();
67 if(!SSO.hasSSO() &&
"true".equals(ZkossElephant.getCookieValue(
"xp_storepass"))) {
68 ZkossElephant.encryptCookie(
"xp_pass", password.getText(),
"/", 365*24*60*60);
70 Application.getApplication().sendRedirect(
"/user");
72 Clients.showNotification(I_.get(
"Values had to be equal"));
◆ onChangingPassword()
void org.turro.auth.PasswordControl.onChangingPassword |
( |
InputEvent |
evt | ) |
throws IOException |
Definition at line 57 of file PasswordControl.java.
58 strength.setValue(PasswordStrength.checkStrength(evt.getValue()));
The documentation for this class was generated from the following file: