Class EditSecurityConfiguration
- java.lang.Object
-
- com.atlassian.confluence.it.admin.EditSecurityConfiguration
-
public class EditSecurityConfiguration extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
EditSecurityConfiguration.Field
-
Method Summary
-
-
-
Method Detail
-
editConfigurationFromAnywhere
public static EditSecurityConfiguration editConfigurationFromAnywhere()
Factory method to visit the edit configuration screen from anywhere.- Returns:
- a new EditSecurityConfiguration ready to use.
-
editConfigurationFromAnywhere
public static EditSecurityConfiguration editConfigurationFromAnywhere(net.sourceforge.jwebunit.junit.WebTester webTester)
-
editConfigurationFromView
protected static EditSecurityConfiguration editConfigurationFromView(net.sourceforge.jwebunit.junit.WebTester webTester)
-
getExpectedTitle
public String getExpectedTitle()
-
submitAndReEdit
public EditSecurityConfiguration submitAndReEdit()
Submit and immediately click edit so that more editing can be done.
-
submitAndView
public ViewSecurityConfiguration submitAndView()
-
submitExpectingErrors
public EditSecurityConfiguration submitExpectingErrors()
Submit, expecting that we'll be taken back to the edit page and that there will be errors shown.
-
submit
public void submit()
Submit and don't construct a new state. Useful in tearDowns when you aren't going to want to do anything with the result.
-
cancel
public ViewSecurityConfiguration cancel()
-
setWebSudoEnabled
public EditSecurityConfiguration setWebSudoEnabled(boolean enabled)
-
setWebSudoTimeout
public EditSecurityConfiguration setWebSudoTimeout(long timeout)
-
setExternalUserManagement
public EditSecurityConfiguration setExternalUserManagement(boolean enabled)
-
setAntiXssModeEnabled
@Deprecated public EditSecurityConfiguration setAntiXssModeEnabled(boolean enabled)
Deprecated.
-
isAntiXssModeEnabled
@Deprecated public boolean isAntiXssModeEnabled()
Deprecated.
-
isExternalUserManagementEnabled
public boolean isExternalUserManagementEnabled()
-
isAddWildcardsToUserAndGroupSearchesEnabled
public boolean isAddWildcardsToUserAndGroupSearchesEnabled()
-
setAddWildcardsToUserAndGroupSearchesEnabled
public EditSecurityConfiguration setAddWildcardsToUserAndGroupSearchesEnabled(boolean enabled)
-
setPublicSignupEnabled
public EditSecurityConfiguration setPublicSignupEnabled(boolean enabled)
-
isSpaceStylesEnabled
public boolean isSpaceStylesEnabled()
-
setSpaceStylesEnabled
public EditSecurityConfiguration setSpaceStylesEnabled(boolean enabled)
-
isShowSystemInfoIn500PageEnabled
public boolean isShowSystemInfoIn500PageEnabled()
-
setShowSystemInfoIn500PageEnabled
public EditSecurityConfiguration setShowSystemInfoIn500PageEnabled(boolean enabled)
-
getMaxRssItems
public int getMaxRssItems()
-
setMaxRssItems
public EditSecurityConfiguration setMaxRssItems(int max)
-
getRssTimeoutField
public EditSecurityConfiguration.Field getRssTimeoutField()
-
getPageTimeoutField
public EditSecurityConfiguration.Field getPageTimeoutField()
-
getExpectedRssTimeoutInvalidMessage
public String getExpectedRssTimeoutInvalidMessage()
-
getExpectedPageTimeoutInvalidMessage
public String getExpectedPageTimeoutInvalidMessage()
-
setEmailAddressVisibility
public EditSecurityConfiguration setEmailAddressVisibility(String setting)
-
setAnonymousRemoteApiEnabled
public EditSecurityConfiguration setAnonymousRemoteApiEnabled(boolean enabled)
-
isEventedSecurityCheckEnabled
public boolean isEventedSecurityCheckEnabled()
-
setElevatedSecurityCheckEnabled
public EditSecurityConfiguration setElevatedSecurityCheckEnabled(boolean enabled)
-
getLoginAttemptsThreshold
public int getLoginAttemptsThreshold()
-
setLoginAttemptsThreshold
public EditSecurityConfiguration setLoginAttemptsThreshold(int loginAttemptsThreshold)
-
isXsrfAddCommmentsEnabled
public boolean isXsrfAddCommmentsEnabled()
-
isWebSudoEnabled
public boolean isWebSudoEnabled()
-
assertAttachmentSecurityLevel
public void assertAttachmentSecurityLevel(AttachmentSecurityLevel level)
-
setAttachmentSecurityLevel
public void setAttachmentSecurityLevel(AttachmentSecurityLevel level)
-
-