Several fixes
All checks were successful
Build, Push and Deploy / build-and-deploy (push) Successful in 55s
All checks were successful
Build, Push and Deploy / build-and-deploy (push) Successful in 55s
- added organizations - added industries - added logo in 2 colors for light and dark theme - improved authorization to allow multi tenancy - added Bruno configs
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package de.iwomm.propify_api.security;
|
||||
|
||||
public class TenantContext {
|
||||
private static final ThreadLocal<String> CURRENT_TENANT = new ThreadLocal<>();
|
||||
|
||||
public static void setTenantId(String tenantId) {
|
||||
CURRENT_TENANT.set(tenantId);
|
||||
}
|
||||
|
||||
public static String getTenantId() {
|
||||
return CURRENT_TENANT.get();
|
||||
}
|
||||
|
||||
public static void clear() {
|
||||
CURRENT_TENANT.remove();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user