Class BasicAuthAuthenticationConfiguration

java.lang.Object
io.micronaut.security.authentication.BasicAuthAuthenticationConfiguration
All Implemented Interfaces:
io.micronaut.core.util.Toggleable

@ConfigurationProperties("micronaut.security.basic-auth") public class BasicAuthAuthenticationConfiguration extends Object implements io.micronaut.core.util.Toggleable
Configuration for basic authentication.
Since:
2.0.0
Author:
James Kleeh
  • Field Details

  • Constructor Details

    • BasicAuthAuthenticationConfiguration

      public BasicAuthAuthenticationConfiguration()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface io.micronaut.core.util.Toggleable
    • setEnabled

      public void setEnabled(boolean enabled)
      Enables the BasicAuthAuthenticationFetcher. Default value true.
      Parameters:
      enabled - True if enabled