Class TenantContext

java.lang.Object
com.xebialabs.xlrelease.utils.TenantContext

public class TenantContext extends Object
IMPORTANT: This class is a wrapper around SecurityContextHolder. If you would like to use this class ask if you would use SecurityContextHolder in the place. If you would use SecurityContextHolder in the same place, then proceed and use this class, otherwise try to find alternative solution.
  • Constructor Details

    • TenantContext

      public TenantContext()
  • Method Details

    • SYSTEM_TENANT_ID

      public static final String SYSTEM_TENANT_ID()
    • isSystemTenant

      public static boolean isSystemTenant()
    • getTenant

      public static String getTenant()