Uses of Class
com.adobe.cq.testing.client.SecurityClient
-
Packages that use SecurityClient Package Description com.adobe.cq.testing.client com.adobe.cq.testing.client.security com.adobe.cq.testing.junit.assertion -
-
Uses of SecurityClient in com.adobe.cq.testing.client
Subclasses of SecurityClient in com.adobe.cq.testing.client Modifier and Type Class Description classCQSecurityClient -
Uses of SecurityClient in com.adobe.cq.testing.client.security
Fields in com.adobe.cq.testing.client.security declared as SecurityClient Modifier and Type Field Description protected SecurityClientAbstractAuthorizable. clientprotected SecurityClientAuthorizableManager. clientThe security granite HTTP clientprotected SecurityClientCQPreferences. clientprotected SecurityClientPermissions. clientMethods in com.adobe.cq.testing.client.security with type parameters of type SecurityClient Modifier and Type Method Description <T extends SecurityClient>
AuthorizableAbstractAuthorizable. create(T client, Class<? extends AbstractAuthorizable> authorizableClass, String authorizableId, org.apache.sling.testing.clients.util.FormEntityBuilder formParameters, int... expectedStatus)<T extends SecurityClient>
AuthorizableAuthorizable. create(T client, Class<? extends AbstractAuthorizable> authorizableClass, String authorizableId, org.apache.sling.testing.clients.util.FormEntityBuilder formParameters, int... expectedStatus)Creates a newAuthorizable.<T extends SecurityClient>
AuthorizableAuthorizableManager. create(T client, Class<? extends AbstractAuthorizable> authorizableClass, String authorizableId, org.apache.sling.testing.clients.util.FormEntityBuilder formParameters, int... expectedStatus)Creates a newAuthorizable.static <T extends SecurityClient>
GroupGroup. createGroup(T client, String groupId, String intermediatePath, String givenName, String aboutMe, int... expectedStatus)Creates a new group.static <T extends SecurityClient>
UserUser. createUser(T client, String userId, String password, String intermediatePath, Map<String,String> profileMap, boolean waitForIndex, int... expectedStatus)Deprecated.waitForIndex parameter is not needed.static <T extends SecurityClient>
UserUser. createUser(T client, String userId, String password, String intermediatePath, Map<String,String> profileMap, int... expectedStatus)Creates a new user.Methods in com.adobe.cq.testing.client.security that return SecurityClient Modifier and Type Method Description SecurityClientAbstractAuthorizable. getClient()SecurityClientAuthorizable. getClient()Get any client implementing theSecurityClientSecurityClientCQPreferences. getClient()Methods in com.adobe.cq.testing.client.security with parameters of type SecurityClient Modifier and Type Method Description static booleanAbstractAuthorizable. exists(SecurityClient client, String authorizableId)Constructors in com.adobe.cq.testing.client.security with parameters of type SecurityClient Constructor Description NewRandomUserInstanceConfig(SecurityClient client, Group[] assignedGroups) -
Uses of SecurityClient in com.adobe.cq.testing.junit.assertion
Methods in com.adobe.cq.testing.junit.assertion with type parameters of type SecurityClient Modifier and Type Method Description static <T extends SecurityClient>
voidSecurityAssert. assertACE(T client, String userPath)Assert permissions / rep:policy node exist and has at minimum one allow or deny nodestatic <T extends SecurityClient>
voidSecurityAssert. assertProfile(T client, String authorizablePath, HashMap<String,String> expectedProps)Assert profile information is correctly setstatic <T extends SecurityClient>
voidSecurityAssert. assertValidGroup(T client, String groupPath)Assert group is a valid groupstatic <T extends SecurityClient>
voidSecurityAssert. assertValidUser(T client, String userPath)Assert user is a valid user
-