mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
MT - simpify tenant deployer service (subsume tenant service)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8244 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1012,12 +1012,7 @@ public class MultiTAdminServiceImpl extends AbstractLifecycleBean implements Ten
|
||||
tenantDeployers.remove(deployer);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isEnabled()
|
||||
{
|
||||
return tenantService.isEnabled();
|
||||
}
|
||||
|
||||
|
||||
public void resetCache(String tenantDomain)
|
||||
{
|
||||
if (existsTenant(tenantDomain))
|
||||
@@ -1098,6 +1093,28 @@ public class MultiTAdminServiceImpl extends AbstractLifecycleBean implements Ten
|
||||
}
|
||||
}
|
||||
|
||||
// tenant deployer services delegated to tenant service
|
||||
|
||||
public boolean isEnabled()
|
||||
{
|
||||
return tenantService.isEnabled();
|
||||
}
|
||||
|
||||
public String getCurrentUserDomain()
|
||||
{
|
||||
return tenantService.getCurrentUserDomain();
|
||||
}
|
||||
|
||||
public String getDomainUser(String baseUsername, String tenantDomain)
|
||||
{
|
||||
return tenantService.getDomainUser(baseUsername, tenantDomain);
|
||||
}
|
||||
|
||||
public String getDomain(String name)
|
||||
{
|
||||
return tenantService.getDomain(name);
|
||||
}
|
||||
|
||||
// local helpers
|
||||
|
||||
private String getSystemUser(String tenantDomain)
|
||||
|
Reference in New Issue
Block a user