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_URL
STATISTICS_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 Authorizable s: User / Groups |
createGroup, createGroup, createGroup, createGroup, createUser, createUser, createUser, createUser, createUser, deleteAuthorizables, getAdminUrl, getLoginTokenCookie, getLoginUrl
copyLanguages, copyPage, createPage, createPageWithRetry, createVersion, deletePage, deletePageWithRetry, lockPage, movePage, movePage, resetPageStatistics, restoreTree, restoreVersion, rolloutPage, searchAndReplaceInPages, searchInPages, setPageProperties, setPageProperty, setPagePropertyImage, unlockPage, uploadAsset, uploadFileCQStyle
createFolder, createNode, createNodeRecursive, deletePath, doGetJson, exists, getJsonNode, getJsonNode, getNodeNameFromPath, getParentPath, getUUId, getUUID, importContent, importContent, importJson, move, setPropertiesString, setPropertyString, setPropertyStringArray, upload, waitExists, waitUntilExists
adaptTo, 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, hasValue
public 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.ClientException
public CQAuthorizableManager getManager()
SecurityClient
AuthorizableManager
to get and create Authorizable
s: User / GroupsgetManager
in class SecurityClient
AuthorizableManager
Copyright © 2018. All rights reserved.