Class X509ConfigurationProperties

java.lang.Object
io.micronaut.security.x509.X509ConfigurationProperties
All Implemented Interfaces:
io.micronaut.core.util.Toggleable, X509Configuration

@ConfigurationProperties("micronaut.security.x509") public class X509ConfigurationProperties extends Object implements X509Configuration
Configuration for X.509 authentication.
Since:
3.3
Author:
Burt Beckwith
  • Field Details

  • Constructor Details

    • X509ConfigurationProperties

      public X509ConfigurationProperties()
  • Method Details

    • getSubjectDnRegex

      @NonNull public @NonNull String getSubjectDnRegex()
      Specified by:
      getSubjectDnRegex in interface X509Configuration
      Returns:
      the Subject Distinguished Name (DN) regex
    • setSubjectDnRegex

      public void setSubjectDnRegex(@NonNull @NonNull String subjectDnRegex)
      Set the Subject DN regex. Default value "CN=(.*?)(?:,|$)".
      Parameters:
      subjectDnRegex - the regex
    • isEnabled

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

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