Class AuthenticatorFactory

java.lang.Object
io.micronaut.email.javamail.sender.authentication.AuthenticatorFactory

@Factory @Requires(beans=JavaMailAuthenticationConfiguration.class) public class AuthenticatorFactory extends Object
Builds a Authenticator from configuration set at JavaMailAuthenticationConfiguration.
Since:
1.3.0
Author:
Lukáš Moravec
  • Constructor Details

    • AuthenticatorFactory

      public AuthenticatorFactory()
  • Method Details

    • buildAuthenticator

      @Singleton @NonNull public @NonNull jakarta.mail.Authenticator buildAuthenticator(JavaMailAuthenticationConfiguration configuration)
      Parameters:
      configuration - JavaMail Authentication Configuration
      Returns:
      An Authenticator