Class PasswordReset

java.lang.Object
com.tremolosecurity.proxy.auth.PasswordReset
All Implemented Interfaces:
AuthMechanism

public class PasswordReset extends Object implements AuthMechanism
  • Constructor Details

    • PasswordReset

      public PasswordReset()
  • Method Details

    • doGet

      public void doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthStep as) throws IOException, jakarta.servlet.ServletException
      Specified by:
      doGet in interface AuthMechanism
      Throws:
      IOException
      jakarta.servlet.ServletException
    • doPost

      public void doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthStep as) throws IOException, jakarta.servlet.ServletException
      Specified by:
      doPost in interface AuthMechanism
      Throws:
      IOException
      jakarta.servlet.ServletException
    • sendPasswordReset

      public void sendPasswordReset(String uid, String emailAddress) throws Exception
      Throws:
      Exception
    • doPut

      public void doPut(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthStep as) throws IOException, jakarta.servlet.ServletException
      Specified by:
      doPut in interface AuthMechanism
      Throws:
      IOException
      jakarta.servlet.ServletException
    • doHead

      public void doHead(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthStep as) throws IOException, jakarta.servlet.ServletException
      Specified by:
      doHead in interface AuthMechanism
      Throws:
      IOException
      jakarta.servlet.ServletException
    • doOptions

      public void doOptions(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthStep as) throws IOException, jakarta.servlet.ServletException
      Specified by:
      doOptions in interface AuthMechanism
      Throws:
      IOException
      jakarta.servlet.ServletException
    • doDelete

      public void doDelete(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthStep as) throws IOException, jakarta.servlet.ServletException
      Specified by:
      doDelete in interface AuthMechanism
      Throws:
      IOException
      jakarta.servlet.ServletException
    • init

      public void init(jakarta.servlet.ServletContext ctx, HashMap<String,Attribute> init)
      Specified by:
      init in interface AuthMechanism
    • getFinalURL

      public String getFinalURL(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
      Specified by:
      getFinalURL in interface AuthMechanism
    • getSmtpServer

      public String getSmtpServer()
    • getSmtpPort

      public int getSmtpPort()
    • getSmtpUser

      public String getSmtpUser()
    • getSmtpPassword

      public String getSmtpPassword()
    • getSmtpSubject

      public String getSmtpSubject()
    • getSmtpFrom

      public String getSmtpFrom()
    • getSocksHost

      public String getSocksHost()
    • getSocksPort

      public int getSocksPort()
    • isUseSocks

      public boolean isUseSocks()
    • getSmtpLocalhost

      public String getSmtpLocalhost()
    • isSmtpTLS

      public boolean isSmtpTLS()
    • getMsgQ

      public Queue<com.tremolosecurity.proxy.auth.SmtpMessage> getMsgQ()
    • getLookupAttributeName

      public String getLookupAttributeName()
    • clearUserRequests

      public void clearUserRequests(String id)