public class ClassRuleUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ClassRuleUtils.LoginTokenInstance |
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
static String |
LOGIN_TOKEN_AUTH |
| Constructor and Description |
|---|
ClassRuleUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
loginTokenAuth()
Should default login be with login-token?
|
static org.apache.sling.testing.junit.rules.instance.Instance |
newInstanceRule()
Create a new
Instance object depending on the default auth mechanism |
static org.apache.sling.testing.junit.rules.instance.Instance |
newInstanceRule(boolean forceBasicAuth)
Create a new
Instance object depending on the default auth mechanism |
public static final org.slf4j.Logger LOG
public static final String LOGIN_TOKEN_AUTH
public static org.apache.sling.testing.junit.rules.instance.Instance newInstanceRule(boolean forceBasicAuth)
Instance object depending on the default auth mechanismforceBasicAuth - set to true to always use basic authpublic static org.apache.sling.testing.junit.rules.instance.Instance newInstanceRule()
Instance object depending on the default auth mechanismpublic static boolean loginTokenAuth()
Copyright © 2018. All rights reserved.