Class ServerAuth

java.lang.Object
com.mimecast.robin.smtp.extension.server.ServerProcessor
com.mimecast.robin.smtp.extension.server.ServerAuth

public class ServerAuth extends ServerProcessor
AUTH extension processor. TODO Implement DIGEST-MD5 support.
  • Constructor Details

    • ServerAuth

      public ServerAuth()
  • Method Details

    • getAdvert

      public String getAdvert()
      Advert getter.
      Overrides:
      getAdvert in class ServerProcessor
      Returns:
      Advert string.
    • process

      public boolean process(Connection connection, Verb verb) throws IOException
      AUTH processor.
      Overrides:
      process in class ServerProcessor
      Parameters:
      connection - Connection instance.
      verb - Verb instance.
      Returns:
      Boolean.
      Throws:
      IOException - Unable to communicate.
    • processAuthPlain

      private void processAuthPlain(Verb verb) throws IOException
      Process auth plain.
      Parameters:
      verb - Verb instance.
      Throws:
      IOException - Unable to communicate.
    • processAuthLogin

      private void processAuthLogin(Verb verb) throws IOException
      Process auth login.
      Parameters:
      verb - Verb instance.
      Throws:
      IOException - Unable to communicate.