Class SubdomainTenantResolverConfigurationProperties

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

@ConfigurationProperties("micronaut.multitenancy.tenantresolver.subdomain") public class SubdomainTenantResolverConfigurationProperties extends Object implements SubdomainTenantResolverConfiguration
ConfigurationProperties implementation of SessionTenantResolverConfiguration.
Since:
1.0.0
Author:
Sergio del Amo
  • Field Details

  • Constructor Details

    • SubdomainTenantResolverConfigurationProperties

      public SubdomainTenantResolverConfigurationProperties()
  • Method Details

    • isEnabled

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

      public void setEnabled(boolean enabled)
      Enables SubdomainTenantResolver. Default value (false).
      Parameters:
      enabled - True or false.