Class EmailPasswordResetter

java.lang.Object
tigase.extras.AbstractEmailSender
tigase.extras.passwordreset.EmailPasswordResetter
All Implemented Interfaces:
tigase.auth.PasswordResetterIfc

@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
  • Field Details

  • Constructor Details

    • EmailPasswordResetter

      public EmailPasswordResetter()
  • Method Details

    • validateToken

      public void validateToken(String encodedToken) throws tigase.component.exceptions.RepositoryException
      Specified by:
      validateToken in interface tigase.auth.PasswordResetterIfc
      Throws:
      tigase.component.exceptions.RepositoryException
    • changePassword

      public void changePassword(String encodedToken, String password) throws tigase.component.exceptions.RepositoryException
      Specified by:
      changePassword in interface tigase.auth.PasswordResetterIfc
      Throws:
      tigase.component.exceptions.RepositoryException
    • sendToken

      public void sendToken(tigase.xmpp.jid.BareJID bareJID, String url) throws tigase.component.exceptions.RepositoryException, Exception
      Specified by:
      sendToken in interface tigase.auth.PasswordResetterIfc
      Throws:
      tigase.component.exceptions.RepositoryException
      Exception