Package | Description |
---|---|
com.adobe.cq.testing.client | |
com.adobe.cq.testing.client.security | |
com.adobe.cq.testing.junit.assertion |
Modifier and Type | Class and Description |
---|---|
class |
CQSecurityClient |
Modifier and Type | Field and Description |
---|---|
protected SecurityClient |
Permissions.client |
protected SecurityClient |
CQPreferences.client |
protected SecurityClient |
AbstractAuthorizable.client |
protected SecurityClient |
AuthorizableManager.client
The security granite HTTP client
|
Modifier and Type | Method and Description |
---|---|
<T extends SecurityClient> |
Authorizable.create(T client,
Class<? extends AbstractAuthorizable> authorizableClass,
String authorizableId,
org.apache.sling.testing.clients.util.FormEntityBuilder formParameters,
int... expectedStatus)
Creates a new
Authorizable . |
<T extends SecurityClient> |
AbstractAuthorizable.create(T client,
Class<? extends AbstractAuthorizable> authorizableClass,
String authorizableId,
org.apache.sling.testing.clients.util.FormEntityBuilder formParameters,
int... expectedStatus) |
<T extends SecurityClient> |
AuthorizableManager.create(T client,
Class<? extends AbstractAuthorizable> authorizableClass,
String authorizableId,
org.apache.sling.testing.clients.util.FormEntityBuilder formParameters,
int... expectedStatus)
Creates a new
Authorizable . |
static <T extends SecurityClient> |
Group.createGroup(T client,
String groupId,
String intermediatePath,
String givenName,
String aboutMe,
int... expectedStatus)
Creates a new group.
|
static <T extends SecurityClient> |
User.createUser(T client,
String userId,
String password,
String intermediatePath,
Map<String,String> profileMap,
boolean waitForIndex,
int... expectedStatus)
Creates a new user.
|
static <T extends SecurityClient> |
User.createUser(T client,
String userId,
String password,
String intermediatePath,
Map<String,String> profileMap,
int... expectedStatus)
Creates a new user.
|
Modifier and Type | Method and Description |
---|---|
SecurityClient |
Authorizable.getClient()
Get any client implementing the
SecurityClient |
SecurityClient |
CQPreferences.getClient() |
SecurityClient |
AbstractAuthorizable.getClient() |
Modifier and Type | Method and Description |
---|---|
static <T extends SecurityClient> |
SecurityAssert.assertACE(T client,
String userPath)
Assert permissions / rep:policy node exist and has at minimum one allow or deny node
|
static <T extends SecurityClient> |
SecurityAssert.assertProfile(T client,
String authorizablePath,
HashMap<String,String> expectedProps)
Assert profile information is correctly set
|
static <T extends SecurityClient> |
SecurityAssert.assertValidGroup(T client,
String groupPath)
Assert group is a valid group
|
static <T extends SecurityClient> |
SecurityAssert.assertValidUser(T client,
String userPath)
Assert user is a valid user
|
Copyright © 2018. All rights reserved.