Package | Description |
---|---|
com.adobe.cq.testing.client | |
com.adobe.cq.testing.client.security | |
com.adobe.cq.testing.junit.assertion |
Modifier and Type | Method and Description |
---|---|
void |
SecurityClient.deleteAuthorizables(Authorizable[] authorizables,
int... expectedStatus)
Delete a list of authorizables.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAuthorizable
Existing
Authorizable |
class |
Group
Object which handles group actions
|
class |
User
Object which handles user actions
|
Modifier and Type | Field and Description |
---|---|
protected Authorizable |
CQPreferences.authorizable
Group / User
|
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 . |
Authorizable |
CQPreferences.getAuthorizable() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Authorizable> |
AbstractAuthorizable.buildAuthorizableList(org.codehaus.jackson.JsonNode authorizableJsonNode)
Build list of
Authorizable s as Map: key = id of
authorizable. |
List<Authorizable> |
AuthorizableManager.getAuthorizables(String query)
Get all authorizables from Json as list of
Authorizable s. |
Map<String,Authorizable> |
Authorizable.getImpersonators()
Get impersonators of the authorizable.
|
Map<String,Authorizable> |
AbstractAuthorizable.getImpersonators() |
Map<String,Authorizable> |
Authorizable.getMemberOf()
Get members authorizable is assigned to.
|
Map<String,Authorizable> |
AbstractAuthorizable.getMemberOf() |
Map<String,Authorizable> |
Authorizable.getMembers()
Get members assigned to the authorizable.
|
Map<String,Authorizable> |
AbstractAuthorizable.getMembers() |
Modifier and Type | Method and Description |
---|---|
org.apache.sling.testing.clients.SlingHttpResponse |
Group.addMember(Authorizable authorizable,
int... expectedStatus)
Adds the group as member to another authorizable.
|
org.apache.sling.testing.clients.SlingHttpResponse |
Group.addMembers(Authorizable[] authorizables,
int... expectedStatus)
Adds the group as member to other authorizables.
|
boolean |
Group.hasGroupMember(Authorizable authorizable)
Check if authorizable is member of a given group
|
org.apache.sling.testing.clients.SlingHttpResponse |
Group.removeMembers(Authorizable[] authorizables,
int... expectedStatus)
Remove the group as member from other authorizables
|
Constructor and Description |
---|
CQPreferences(Authorizable authorizable) |
Modifier and Type | Method and Description |
---|---|
static <T extends Authorizable> |
SecurityAssert.assertIsMemberOf(Group authorizableMemberOf,
T authorizableMember)
Assert authorizableMember is member of authorizableMemberOf
|
static <T extends Authorizable> |
SecurityAssert.assertIsNotMember(Group authorizableMemberOf,
T authorizableMember)
Assert authorizableMemberOf is NOT member of authorizableMember
|
static <T extends Authorizable> |
SecurityAssert.assertIsNotMemberOf(Group authorizableMemberOf,
T authorizableMember)
Assert authorizableMember is NOT member of authorizableMemberOf
|
Copyright © 2018. All rights reserved.