public class BaseAuthenticationTestCase extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
BaseAuthenticationTestCase.ContinueLoginRequestSpecification |
static interface |
BaseAuthenticationTestCase.LoginRequestSpecification |
static interface |
BaseAuthenticationTestCase.LoginRequestSpecificationBase |
static class |
BaseAuthenticationTestCase.LoginRequestSpecificationImpl |
Modifier and Type | Field and Description |
---|---|
protected static String |
CHANGE_EXPIRED_PASSWORD_PAGE |
protected static String |
DEFAULT_START_PAGE |
RestTestFixture |
fixture |
protected static String |
GAPPS_APPLICATION |
protected static String |
LOGIN_LOCATION |
protected static Map<String,String> |
NO_COOKIES |
protected static String |
REST_ENDPOINT |
protected static String |
SECURE_RESOURCE |
Constructor and Description |
---|
BaseAuthenticationTestCase() |
Modifier and Type | Method and Description |
---|---|
void |
assertRedirectTo(io.restassured.response.Response response,
String suffix) |
protected RestAuthenticationFailureHandler.LoginError |
getLoginError(io.restassured.response.Response loginResponse) |
static io.restassured.response.Response |
getWithoutRedirects(Map<String,String> cookies,
String path) |
protected static BaseAuthenticationTestCase.LoginRequestSpecificationImpl |
loginRequest(String username,
String password,
boolean rememberMe) |
protected static final String REST_ENDPOINT
protected static final String CHANGE_EXPIRED_PASSWORD_PAGE
protected static final String DEFAULT_START_PAGE
protected static final String SECURE_RESOURCE
protected static final String LOGIN_LOCATION
protected static final String GAPPS_APPLICATION
public RestTestFixture fixture
protected static BaseAuthenticationTestCase.LoginRequestSpecificationImpl loginRequest(String username, String password, boolean rememberMe)
public static io.restassured.response.Response getWithoutRedirects(Map<String,String> cookies, String path)
public void assertRedirectTo(io.restassured.response.Response response, String suffix) throws MalformedURLException, URISyntaxException
protected RestAuthenticationFailureHandler.LoginError getLoginError(io.restassured.response.Response loginResponse)
Copyright © 2020 Atlassian. All rights reserved.