Package org.alfresco.utility.network
Class TenantConsole
java.lang.Object
org.alfresco.utility.network.HttpConsoleOperation
org.alfresco.utility.network.TenantConsole
-
Field Summary
Fields inherited from class org.alfresco.utility.network.HttpConsoleOperation
LOG, properties, relativePath -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancreateTenant(String tenant, String password) booleanbooleantenantExist(String scheme, String server, int port, String adminUserName, String adminPassword) Helper method that can be executed if TenantConsole is not initialized by @Autowired spring keywordMethods inherited from class org.alfresco.utility.network.HttpConsoleOperation
execute, fullResponseDocument, getAdminBasicAuthentication, getAlfrescoConsolePath, getHttpClient, parsedResponse
-
Constructor Details
-
TenantConsole
public TenantConsole()
-
-
Method Details
-
tenantExist
- Throws:
IOException
-
tenantExist
public boolean tenantExist(String scheme, String server, int port, String adminUserName, String adminPassword) throws Exception Helper method that can be executed if TenantConsole is not initialized by @Autowired spring keyword- Throws:
Exception
-
createTenant
- Throws:
Exception
-
createRandomTenant
- Throws:
Exception
-