public class CQSecurityClient extends SecurityClient
CQClient.Builder, CQClient.InternalBuilder<T extends CQClient>| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
ADMIN_URL, LOGIN_URLSTATISTICS_ROOT, wcmCommands| Constructor and Description |
|---|
CQSecurityClient(org.apache.http.impl.client.CloseableHttpClient http,
org.apache.sling.testing.clients.SlingClientConfig config) |
CQSecurityClient(URI serverUrl,
String user,
String password) |
| Modifier and Type | Method and Description |
|---|---|
CQAuthorizableManager |
getManager()
Get
AuthorizableManager to get and create Authorizables: User / Groups |
createGroup, createGroup, createGroup, createGroup, createUser, createUser, createUser, createUser, createUser, deleteAuthorizables, getAdminUrl, getLoginTokenCookie, getLoginUrlcopyLanguages, copyPage, createPage, createPageWithRetry, createVersion, deletePage, deletePageWithRetry, lockPage, movePage, movePage, resetPageStatistics, restoreTree, restoreVersion, rolloutPage, searchAndReplaceInPages, searchInPages, setPageProperties, setPageProperty, setPagePropertyImage, unlockPage, uploadAsset, uploadFileCQStylecreateFolder, createNode, createNodeRecursive, deletePath, doGetJson, exists, getJsonNode, getJsonNode, getNodeNameFromPath, getParentPath, getUUId, getUUID, importContent, importContent, importJson, move, setPropertiesString, setPropertyString, setPropertyStringArray, upload, waitExists, waitUntilExistsadaptTo, addValue, close, doDelete, doGet, doGet, doGet, doHead, doPatch, doPost, doPost, doPut, doRawRequest, doRequest, doStreamGet, doStreamPost, doStreamRequest, execute, execute, execute, execute, execute, execute, execute, execute, getClientId, getConnectionManager, getCookieStore, getCredentialsProvider, getParams, getPassword, getPath, getPath, getUrl, getUrl, getUrl, getUser, getValue, getValues, hasValuepublic CQSecurityClient(org.apache.http.impl.client.CloseableHttpClient http,
org.apache.sling.testing.clients.SlingClientConfig config)
throws org.apache.sling.testing.clients.ClientException
org.apache.sling.testing.clients.ClientExceptionpublic CQAuthorizableManager getManager()
SecurityClientAuthorizableManager to get and create Authorizables: User / GroupsgetManager in class SecurityClientAuthorizableManagerCopyright © 2018. All rights reserved.