mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Increase visibility on methods required for Cloud overrides
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@52400 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1298,7 +1298,12 @@ public class MultiTAdminServiceImpl implements TenantAdminService, ApplicationCo
|
||||
tenantAdminDAO.createTenant(tenantEntity);
|
||||
}
|
||||
|
||||
private void validateTenantName(String tenantDomain)
|
||||
/**
|
||||
* @see #MAX_LEN
|
||||
* @see #REGEX_CONTAINS_ALPHA
|
||||
* @see #REGEX_VALID_DNS_LABEL
|
||||
*/
|
||||
protected void validateTenantName(String tenantDomain)
|
||||
{
|
||||
ParameterCheck.mandatory("tenantDomain", tenantDomain);
|
||||
|
||||
@@ -1393,7 +1398,10 @@ public class MultiTAdminServiceImpl implements TenantAdminService, ApplicationCo
|
||||
return authenticationContext.getGuestUserName(tenantDomain);
|
||||
}
|
||||
|
||||
private String getTenantDomain(String tenantDomain)
|
||||
/**
|
||||
* Do a null check and convert tenant domain to lowercase
|
||||
*/
|
||||
protected String getTenantDomain(String tenantDomain)
|
||||
{
|
||||
ParameterCheck.mandatory("tenantDomain", tenantDomain);
|
||||
return tenantDomain.toLowerCase(I18NUtil.getLocale());
|
||||
|
Reference in New Issue
Block a user