Class CreateUserRule
- java.lang.Object
-
- org.junit.rules.ExternalResource
-
- com.adobe.cq.testing.client.security.CreateUserRule
-
- All Implemented Interfaces:
UserRule,org.junit.rules.TestRule
@Deprecated public class CreateUserRule extends org.junit.rules.ExternalResource implements UserRule
Deprecated.UserTemporaryUserinstead.Create and cleanup at the end a user belonging to the Authors group
-
-
Constructor Summary
Constructors Constructor Description CreateUserRule(org.apache.sling.testing.junit.rules.instance.Instance instanceRule, String... groups)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidafter()Deprecated.protected voidbefore()Deprecated.CQClientgetClient()Deprecated.Supplier<org.apache.sling.testing.clients.SlingClient>getClientSupplier()Deprecated.
-
-
-
Constructor Detail
-
CreateUserRule
public CreateUserRule(org.apache.sling.testing.junit.rules.instance.Instance instanceRule, String... groups)Deprecated.
-
-
Method Detail
-
before
protected void before() throws ThrowableDeprecated.- Overrides:
beforein classorg.junit.rules.ExternalResource- Throws:
Throwable
-
after
protected void after()
Deprecated.- Overrides:
afterin classorg.junit.rules.ExternalResource
-
getClientSupplier
public Supplier<org.apache.sling.testing.clients.SlingClient> getClientSupplier()
Deprecated.- Returns:
- a
SlingClientSupplier
-
-