@Service public class TenantConsole extends HttpConsoleOperation
LOG, properties, relativePath| Constructor and Description |
|---|
TenantConsole() |
| Modifier and Type | Method and Description |
|---|---|
UserModel |
createRandomTenant() |
boolean |
createTenant(String tenant,
String password) |
boolean |
tenantExist() |
boolean |
tenantExist(String scheme,
String server,
int port,
String adminUserName,
String adminPassword)
Helper method that can be executed if TenantConsole is not initialized by @Autowired spring keyword
|
execute, fullResponseDocument, getAdminBasicAuthentication, getAlfrescoConsolePath, getHttpClient, parsedResponsepublic boolean tenantExist(String scheme, String server, int port, String adminUserName, String adminPassword) throws Exception
Exceptionpublic boolean createTenant(String tenant, String password) throws Exception
ExceptionCopyright © 2005–2019 Alfresco Software. All rights reserved.