Class BetterSSOSanityTest
java.lang.Object
com.atlassian.crowd.acceptance.tests.applications.crowd.CrowdWebDriverTest
com.atlassian.crowd.acceptance.tests.bettersso.AbstractBetterSSOTest
com.atlassian.crowd.acceptance.tests.bettersso.BetterSSOSanityTest
-
Field Summary
Fields inherited from class com.atlassian.crowd.acceptance.tests.bettersso.AbstractBetterSSOTest
EXPECTED_AUDIENCE_URL, EXPECTED_SAML_CONSUMER_URL, SAML_REQUEST_ATTRIBUTE_VALUE
Fields inherited from class com.atlassian.crowd.acceptance.tests.applications.crowd.CrowdWebDriverTest
applinksClient, BACKUP_RESOURCE, BATCHED_TEST_RULE, COOKIE_ABSENT, i18n, IMMUTABLE_USER_NAME, IMMUTABLE_USER_PW, JSESSIONID_COOKIE, log, REMEMBER_ME_COOKIE, restAdminClient, SSO_COOKIE, TEST_USER_DISPLAYNAME, TEST_USER_NAME, TEST_USER_PW, testedProduct, testkitClient, webDriverRules
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
Methods inherited from class com.atlassian.crowd.acceptance.tests.bettersso.AbstractBetterSSOTest
ensureCertificateExists
Methods inherited from class com.atlassian.crowd.acceptance.tests.applications.crowd.CrowdWebDriverTest
assertAtRelativePath, assertAtURIContaining, assertAtURIEndingWith, assertAtUrl, assertHasError, assertHasErrorKey, bind, bind, clearAndInvalidateSsoCookieIfPresent, clearAndInvalidateSsoCookieOrFail, deleteAllCookies, deleteCookie, expectState, getBaseUrl, getBaseUrlWithoutPort, getCookie, getCookieOrThrow, getCurrentUrl, getDriver, getSsoCookieOrFail, getTestkitClient, hasCookie, hasSsoCookie, intendToModifyLdapData, loginAsExpiredPasswordUser, loginAsNonAdmin, loginAsNonAdmin, loginAsSysAdmin, loginAsSysAdmin, loginAsSysAdminWithRememberMe, loginAsUser, loginExpectingFailure, loginImmutableUser, loginImmutableUser, loginTestUser, loginTestUser, logout, manage, navigateToAndBind, navigateToUrl, restoreBaseSetup, restoreCrowdFromXML, restoreCrowdFromXML, setUp, waitForUrl, waitUntilAsyncFinished
-
Field Details
-
SAML_REQUEST_FORCE_AUTHN_ATTRIBUTE_VALUE
- See Also:
-
RELAY_STATE_ATTRIBUTE_VALUE
- See Also:
-
EXPECTED_REQUEST_ID
- See Also:
-
runWithSystemPropertyValues
-
-
Constructor Details
-
BetterSSOSanityTest
public BetterSSOSanityTest()
-
-
Method Details
-
shouldProvideSamlResponsesForUsersAlreadyLoggedIn
- Throws:
Exception
-
shouldForceUsersToGoToLoginScreenWhenForceAuth
- Throws:
Exception
-
shouldNotForceUsersToGoToLoginScreenWhenForceAuthOnFirstAuthentication
public void shouldNotForceUsersToGoToLoginScreenWhenForceAuthOnFirstAuthentication() throws Exception- Throws:
Exception
-
shouldClearRenderedLoginPageAfterProcessingSamlRequest
- Throws:
Exception
-
shouldUseEmailAsNameIdFormatWhenNameIdFormatPolicyIsSetToEmailInSamlAuthnRequest
public void shouldUseEmailAsNameIdFormatWhenNameIdFormatPolicyIsSetToEmailInSamlAuthnRequest() throws Exception- Throws:
Exception
-
shouldAddRememberMeAttribute
- Throws:
Exception
-