public class SecurityServerClientTest extends CrowdAcceptanceTestCase
ADMIN_PW, ADMIN_USER, BATCHED_TEST_RULE, DEVELOPER_LICENSE_KEY, EVALUATION_DC_KEY, EXPIRED_MAINTENANCE_KEY, logger, testkitClient, testName, testWatcher, URL_HOME, USER_DETAILS_TABLE_ID
i18n
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() |
_loginAdminUser, _loginAsUser, _logout, assertAtLoginForm, assertAtLoginForm, assertIsLoggedIn, assertIsLoggedOut, assertMatchInTableBody, assertNoMatchInTableBody, assertUnescapedKeyNotPresent, assertUnescapedKeyPresent, assertUserInTable, assertUserInTable, assertUserNotInTable, disableIPValidation, doBackup, getBaseUrl, getCookie, getCookieOrThrow, getCrowdApplicationPassword, getGroupTableContents, getInstanceProperties, getUserDetailsTableContents, 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, intendToModifyData, intendToModifyLdapData, log, loginAdminWithRememberMe, loginAndRedirectToStartPage, loginAndRedirectToStartPage, loginWithRestEndpoint, loginWithRestEndpoint, namesOf, performRequestWithCookieExchange, removeCookie, restGet, restoreBaseSetup, restoreCrowdFromXML, restoreCrowdFromXMLWithoutReloggingIn, restPost, submitLoginFormAsAdminUser, userWithDetails
addRequestHeader, assertButtonNotPresent, assertButtonPresent, assertCheckboxNotPresent, assertCheckboxNotSelected, assertCheckboxPresent, assertCheckboxSelected, assertElementIsDisabled, assertElementIsEnabled, assertElementNotPresent, assertElementNotPresentByXPath, assertElementPresent, assertElementPresentByXPath, assertErrorNotPresent, assertErrorPresent, assertErrorPresentWithKey, assertFieldErrorPresentWithKey, assertFormPresent, assertInfoPresent, assertKeyInElement, assertKeyNotPresent, assertKeyPresent, assertKeyPresent, assertKeyPresent, assertKeyPresentOnce, assertLinkNotPresent, assertLinkPresent, assertLinkPresentWithExactText, assertLinkPresentWithKey, assertMatchInTable, assertMatchInTable, assertRadioOptionNotPresent, assertRadioOptionSelected, assertSelectedOptionEquals, assertSelectedOptionValueEquals, assertSelectOptionNotPresent, assertSelectOptionsEqual, assertServerResponseContains, assertServerResponseDoesNotContain, assertSubmitButtonNotPresent, assertSuccessPresent, assertTableEquals, assertTableNotPresent, assertTablePresent, assertTableRowCountEquals, assertTextFieldEquals, assertTextInElement, assertTextInTable, assertTextInTable, assertTextNotInTable, assertTextNotInTable, assertTextNotPresent, assertTextPresent, assertTextPresent, assertTitleEquals, assertTitleMatch, assertTitleNotEquals, assertWarningAndErrorNotPresent, assertWarningNotPresent, beginAt, checkCheckbox, checkCheckbox, clickButton, clickButtonWithText, clickElementByXPath, clickLink, clickLinkInNavbar, clickLinkWithExactText, clickLinkWithKey, clickLinkWithText, clickLinkWithText, clickRadioOption, closeBrowser, equalToIgnoringWhiteSpace, getDialog, getElementAttributeByXPath, getElementById, getElementByXPath, getElementsByXPath, getElementTextById, getElementTextByXPath, getElementValueByID, getMessage, getMessage, getName, getPageSource, getPageText, getResponseHeaders, getTable, getTestContext, getTestingEngine, getText, getTextForList, getWebTester, gotoPage, isTextPresent, scrapeTable, scrapeTable, scrapeTable, selectOption, selectOption, selectOptionByValue, setRadioButton, setScriptingEnabled, setTester, setTextField, setWorkingForm, setWorkingForm, submit, submit, uncheckCheckbox, waitFor, waitForElementById, waitForElementByXPath, waitForElementToDisappearByXPath, waitForText, waitForText
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 © 2020 Atlassian. All rights reserved.