Class ImapCommandAuthenticate

java.lang.Object
net.messagevortex.transport.imap.ImapCommand
net.messagevortex.transport.imap.ImapCommandAuthenticate
All Implemented Interfaces:
Cloneable

public class ImapCommandAuthenticate extends ImapCommand

Provides the the Authenticate command to the IMAP server.

Since:
2014-12-09
Version:
1.0
Author:
Martin Gwerder
  • Constructor Details

    • ImapCommandAuthenticate

      public ImapCommandAuthenticate()
  • Method Details

    • init

      public void init()

      Initializer called by the static constructor of ImapCommand.

    • getChallenge

      public static String getChallenge(int length)
    • processCommand

      public String[] processCommand(ImapLine line) throws ImapException

      process authentication command.

      Specified by:
      processCommand in class ImapCommand
      Parameters:
      line - The context of the line triggered
      Returns:
      multilined server reply (if any)
      Throws:
      ImapException - when problem processing the command
    • getCommandIdentifier

      public String[] getCommandIdentifier()

      Returns the Identifier (IMAP command) which are processed by this class.

      Specified by:
      getCommandIdentifier in class ImapCommand
      Returns:
      A list of identifiers
    • getCapabilities

      public String[] getCapabilities(ImapConnection ic)
      Specified by:
      getCapabilities in class ImapCommand