Class BaseAuthenticationTestCase
java.lang.Object
com.atlassian.crowd.acceptance.tests.rest.service.security.BaseAuthenticationTestCase
- Direct Known Subclasses:
RestAuthenticationTest
,RestRedirectTest
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
static interface
static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assertRedirectTo
(io.restassured.response.Response response, String suffix) 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)
-
Field Details
-
REST_ENDPOINT
- See Also:
-
CHANGE_EXPIRED_PASSWORD_PAGE
- See Also:
-
DEFAULT_START_PAGE
- See Also:
-
SECURE_RESOURCE
- See Also:
-
LOGIN_LOCATION
- See Also:
-
GAPPS_APPLICATION
- See Also:
-
NO_COOKIES
-
fixture
-
-
Constructor Details
-
BaseAuthenticationTestCase
public BaseAuthenticationTestCase()
-
-
Method Details
-
loginRequest
protected static BaseAuthenticationTestCase.LoginRequestSpecificationImpl loginRequest(String username, String password, boolean rememberMe) -
getWithoutRedirects
-
assertRedirectTo
public void assertRedirectTo(io.restassured.response.Response response, String suffix) throws MalformedURLException, URISyntaxException -
getLoginError
protected RestAuthenticationFailureHandler.LoginError getLoginError(io.restassured.response.Response loginResponse)
-