com.atlassian.confluence.it.admin
Class EditSecurityConfiguration
java.lang.Object
com.atlassian.confluence.it.admin.EditSecurityConfiguration
public class EditSecurityConfiguration
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 java.lang.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)
setAntiXssModeEnabled
public EditSecurityConfiguration setAntiXssModeEnabled(boolean enabled)
setExternalUserManagement
public EditSecurityConfiguration setExternalUserManagement(boolean enabled)
isAntiXssModeEnabled
public boolean isAntiXssModeEnabled()
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 java.lang.String getExpectedRssTimeoutInvalidMessage()
getExpectedPageTimeoutInvalidMessage
public java.lang.String getExpectedPageTimeoutInvalidMessage()
setEmailAddressVisibility
public EditSecurityConfiguration setEmailAddressVisibility(java.lang.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()
setXsrfAddCommentsEnabled
public EditSecurityConfiguration setXsrfAddCommentsEnabled(boolean enabled)
isWebSudoEnabled
public boolean isWebSudoEnabled()
assertAttachmentSecurityLevel
public void assertAttachmentSecurityLevel(AttachmentSecurityLevel level)
setAttachmentSecurityLevel
public void setAttachmentSecurityLevel(AttachmentSecurityLevel level)
Copyright © 2003-2013 Atlassian. All Rights Reserved.