Class SessionTenantResolverConfigurationProperties

    • Field Detail

      • PREFIX

        public static final java.lang.String PREFIX
        Configuration Properties prefix.
        See Also:
        Constant Field Values
      • DEFAULT_ENABLE

        public static final boolean DEFAULT_ENABLE
        The default enable value.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SessionTenantResolverConfigurationProperties

        public SessionTenantResolverConfigurationProperties()
    • Method Detail

      • isEnabled

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

        public void setEnabled​(boolean enabled)
        Enables SessionTenantResolver. The default value (false).
        Parameters:
        enabled - True or false.
      • setAttribute

        public void setAttribute​(java.lang.String attribute)
        Session Attribute name. Default value ("tenantId")
        Parameters:
        attribute - session attribute name