Class PrincipalTenantResolverConfigurationProperties

java.lang.Object
io.micronaut.multitenancy.tenantresolver.PrincipalTenantResolverConfigurationProperties
All Implemented Interfaces:
io.micronaut.core.util.Toggleable, PrincipalTenantResolverConfiguration

@ConfigurationProperties("micronaut.multitenancy.tenantresolver.principal") public class PrincipalTenantResolverConfigurationProperties extends Object implements PrincipalTenantResolverConfiguration
ConfigurationProperties implementation of PrincipalTenantResolverConfiguration.
Since:
1.0.0
Author:
Sergio del Amo
  • Field Details

  • Constructor Details

    • PrincipalTenantResolverConfigurationProperties

      public PrincipalTenantResolverConfigurationProperties()
  • Method Details

    • isEnabled

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

      public void setEnabled(boolean enabled)
      Enables PrincipalTenantResolver. The default enable is false.
      Parameters:
      enabled - True or false.