Merge branch 'master' into feature_ui_metadata
This commit is contained in:
@@ -167,7 +167,6 @@ public class JpaSystemManagement implements CurrentTenantCacheKeyGenerator, Syst
|
||||
}
|
||||
|
||||
@Override
|
||||
@Cacheable(value = "tenantMetadata", key = "#tenant.toUpperCase()", cacheManager = "directCacheManager")
|
||||
@Transactional(isolation = Isolation.READ_UNCOMMITTED)
|
||||
@Modifying
|
||||
public TenantMetaData getTenantMetadata(final String tenant) {
|
||||
|
||||
@@ -96,7 +96,7 @@ public class SecurityContextTenantAware implements TenantAware {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return (delegate != null) ? delegate.hashCode() : null;
|
||||
return (delegate != null) ? delegate.hashCode() : -1;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -126,7 +126,7 @@ public class SecurityContextTenantAware implements TenantAware {
|
||||
|
||||
@Override
|
||||
public boolean isAuthenticated() {
|
||||
return (delegate != null) ? delegate.isAuthenticated() : null;
|
||||
return (delegate != null) ? delegate.isAuthenticated() : true;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user