Interface AuthenticationHandlerFactory

All Known Implementing Classes:
EasyAuthenticationHandlerFactory, LoginAuthenticationHandlerFactory, MultipleAuthenticationHandlerFactory, PlainAuthenticationHandlerFactory

public interface AuthenticationHandlerFactory
The factory interface for creating authentication handlers.
Author:
Marco Trevisan, Jeff Schnitzer
  • Method Details

    • getAuthenticationMechanisms

      List<String> getAuthenticationMechanisms()
      If your handler supports RFC 2554 at some degree, then it must return all the supported mechanisms here.
      The order you use to populate the list will be preserved in the output of the EHLO command.
      Returns:
      the supported authentication mechanisms as List, names are in upper case.
    • create

      Create a fresh instance of your handler.