public class SecurityServerClientTest extends CrowdAcceptanceTestCase
CrowdWebTestCase.GenericPage, CrowdWebTestCase.TestContext
ADMIN_PW, ADMIN_USER, BATCHED_TEST_RULE, EXPIRED_MAINTENANCE_KEY, logger, testkitClient, testName, testWatcher, URL_HOME, USER_DETAILS_TABLE_ID
BACKUP_RESOURCE, 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, webDriverRules
Constructor and Description |
---|
SecurityServerClientTest() |
Modifier and Type | Method and Description |
---|---|
static void |
assertContainsExactly(List<? extends SOAPEntity> entities,
String... names) |
void |
createPrincipalTokenFailsWithBadValidationFactors() |
void |
createPrincipalTokenSucceedsOnNullArrayOfValidationFactors() |
void |
createPrincipalTokenSucceedsWithNoValidationFactors() |
void |
searchGroupsPopulatesEntityFields() |
void |
searchGroupsWhereUserIsAMember() |
void |
searchGroupsWithNameRestriction() |
void |
searchPrincipals_Aliases()
Tests that users with matching aliases are returned in lower case.
|
void |
searchPrincipals_AliasesAll()
Tests that all users are matched and returned in lower case.
|
void |
searchPrincipals_AliasesIgnoreUsernameWhenAliasExists()
Tests that user with username 'user' is not returned, because that user has an alias.
|
void |
setUp() |
_loginAsUser, _logout, assertAtLoginForm, assertAtLoginForm, assertIsLoggedIn, assertIsLoggedOut, assertMatchInTableBody, assertNoMatchInTableBody, assertUnescapedKeyNotPresent, assertUnescapedKeyPresent, assertUserInTable, assertUserInTable, assertUserNotInTable, disableIPValidation, doBackup, getCrowdApplicationPassword, getGroupTableContents, getInstanceProperties, getUserDetailsTableContents, getUsersCount, getUsersForDirectory, gotoAddApplication, gotoAddGroup, gotoAddPrincipal, gotoAdministrationPage, gotoBrowseApplications, gotoBrowseDirectories, gotoBrowseGroups, gotoBrowseGroups, gotoBrowsePrincipals, gotoBrowsePrincipals, gotoCreateDirectory, gotoCurrentApplicationSessions, gotoCurrentPrincipalSessions, gotoGeneral, gotoImporters, gotoLdapConnectionPool, gotoLicensing, gotoLoggingProfiling, gotoMailServer, gotoMailTemplate, gotoRemovePrincipal, gotoRestore, gotoSAMLConfig, gotoSessionConfig, gotoSystemInfo, gotoTrustedProxies, gotoViewApplication, gotoViewApplicationDirectories, gotoViewGroup, gotoViewPrincipal, intendToModifyLdapData, isLoggedIn, isLoggedInAfterRefresh, log, loginAdmin, loginWithRestAndRedirectToStartPage, loginWithRestEndpoint, loginWithRestEndpoint, namesOf, performRequestWithCookieExchange, restGet, restoreCrowdFromXMLWithoutReloggingIn, restPost, userWithDetails, userWithUsernameAndDisplayName
addRequestHeader, assertButtonNotPresent, assertCheckboxNotPresent, assertCheckboxNotSelected, assertCheckboxPresent, assertCheckboxSelected, assertElementIsDisabled, assertElementIsEnabled, assertElementNotPresent, assertElementNotPresentByXPath, assertElementPresent, assertElementPresentByXPath, assertErrorNotPresent, assertErrorPresent, assertErrorPresentWithKey, assertFieldErrorPresentWithKey, assertInfoPresent, assertKeyInElement, assertKeyNotPresent, assertKeyPresent, assertKeyPresent, assertKeyPresent, assertLinkNotPresent, assertLinkPresent, assertLinkPresentWithKey, assertMatchInTable, assertRadioOptionNotPresent, assertSelectedOptionEquals, assertSelectedOptionValueEquals, assertSelectOptionsEqual, assertSuccessPresent, assertTableNotPresent, assertTablePresent, assertTableRowCountEquals, assertTextFieldEquals, assertTextInElement, assertTextInTable, assertTextInTable, assertTextNotInTable, assertTextNotInTable, assertTextNotPresent, assertTextPresent, assertTitleEquals, assertTitleMatch, assertTitleNotEquals, assertWarningAndErrorNotPresent, assertWarningNotPresent, beginAt, checkCheckbox, checkCheckbox, clearCookies, clickButton, clickButtonWithText, clickElementByXPath, clickLink, clickLinkInNavbar, clickLinkWithExactText, clickLinkWithKey, clickLinkWithText, clickRadioOption, closeBrowser, disableIpAddressValidation, equalToIgnoringWhiteSpace, findElementWithText, getBaseUrlIPv6, getElementById, getElementByXPath, getElementsByXPath, getElementTextById, getElementTextByXPath, getElementValueByID, getFinder, getMessage, getMessage, getName, getPageSource, getPageText, getPoller, getRestAssuredCookies, getTable, getTestContext, getText, getTextForList, gotoPage, isElementWithIdPresent, isTextPresent, scrapeTable, scrapeTable, scrapeTable, selectOption, selectOption, selectOptionBy, selectOptionByValue, seleniumCookieToRestAssuredCookie, setRadioButton, setResourceBundleName, setTextField, setWorkingForm, setWorkingForm, submit, submit, uncheckCheckbox, waitForElementById, waitUntilPageLoad
assertAtRelativePath, assertAtURIContaining, assertAtURIEndingWith, assertAtUrl, assertHasError, assertHasErrorKey, bind, bind, clearAndInvalidateSsoCookieIfPresent, clearAndInvalidateSsoCookieOrFail, deleteAllCookies, deleteCookie, getBaseUrl, getBaseUrlWithoutPort, getCookie, getCookieOrThrow, getCurrentUrl, getDriver, getSsoCookieOrFail, getTestkitClient, hasCookie, hasSsoCookie, intendToModifyData, loginAsExpiredPasswordUser, loginAsNonAdmin, loginAsNonAdmin, loginAsSysAdmin, loginAsSysAdmin, loginAsSysAdminWithRememberMe, loginAsUser, loginExpectingFailure, loginImmutableUser, loginImmutableUser, loginTestUser, loginTestUser, logout, manage, navigateToAndBind, navigateToUrl, restoreBaseSetup, restoreCrowdFromXML, waitForUrl, waitUntilAsyncFinished
public void setUp() throws Exception
setUp
in class CrowdAcceptanceTestCase
Exception
public void createPrincipalTokenSucceedsWithNoValidationFactors() throws Exception
Exception
public void createPrincipalTokenSucceedsOnNullArrayOfValidationFactors() throws Exception
Exception
public void createPrincipalTokenFailsWithBadValidationFactors() throws Exception
Exception
public void searchGroupsWhereUserIsAMember() throws Exception
Exception
public void searchGroupsWithNameRestriction() throws Exception
Exception
public void searchGroupsPopulatesEntityFields() throws Exception
Exception
public static void assertContainsExactly(List<? extends SOAPEntity> entities, String... names)
public void searchPrincipals_Aliases() throws Exception
Exception
public void searchPrincipals_AliasesIgnoreUsernameWhenAliasExists() throws Exception
Exception
Copyright © 2021 Atlassian. All rights reserved.