Class 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
    • Constructor Detail

      • EmailPasswordResetter

        public EmailPasswordResetter()
    • Method Detail

      • 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