@Bean(name="account-email-password-resetter",
parent=tigase.kernel.core.Kernel.class,
active=false,
exportable=true)
public class EmailPasswordResetter
extends AbstractEmailSender
implements tigase.auth.PasswordResetterIfc
| Modifier and Type | Field and Description |
|---|---|
static String |
EMAIL_PASSWORD_RESET_TOKEN |
| Constructor and Description |
|---|
EmailPasswordResetter() |
| Modifier and Type | Method and Description |
|---|---|
void |
changePassword(String encodedToken,
String password) |
void |
sendToken(tigase.xmpp.jid.BareJID bareJID,
String url) |
void |
validateToken(String encodedToken) |
sendMailpublic static final String EMAIL_PASSWORD_RESET_TOKEN
public void validateToken(String encodedToken) throws tigase.component.exceptions.RepositoryException
validateToken in interface tigase.auth.PasswordResetterIfctigase.component.exceptions.RepositoryExceptionpublic void changePassword(String encodedToken, String password) throws tigase.component.exceptions.RepositoryException
changePassword in interface tigase.auth.PasswordResetterIfctigase.component.exceptions.RepositoryExceptionCopyright © 2007–2019 Tigase. All rights reserved.