com.atlassian.confluence.admin.actions
Class SecurityConfigurationAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.admin.actions.SecurityConfigurationAction
- All Implemented Interfaces:
- FormAware, WebInterface, MessageHolderAware, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, java.io.Serializable
public class SecurityConfigurationAction
- extends ConfluenceActionSupport
- implements FormAware
- See Also:
- Serialized Form
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getContext, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserInterfaceState, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingHSQL, setBootstrapManager, setCancel, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionCheck, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setSystemInformationService, setUserAccessor, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityConfigurationAction
public SecurityConfigurationAction()
isPermitted
public boolean isPermitted()
- Overrides:
isPermitted
in class ConfluenceActionSupport
doView
public java.lang.String doView()
throws java.lang.Exception
- Throws:
java.lang.Exception
doDefault
public java.lang.String doDefault()
throws java.lang.Exception
- Description copied from class:
ConfluenceActionSupport
- Default webwork action execution method.
- Overrides:
doDefault
in class ConfluenceActionSupport
- Returns:
- the action result
- Throws:
java.lang.Exception
- if something goes wrong
execute
public java.lang.String execute()
throws java.lang.Exception
- Specified by:
execute
in interface com.opensymphony.xwork.Action
- Overrides:
execute
in class com.opensymphony.xwork.ActionSupport
- Throws:
java.lang.Exception
isSystemAdmin
public boolean isSystemAdmin()
getSpaceManager
public SpaceManager getSpaceManager()
setSpaceManager
public void setSpaceManager(SpaceManager spaceManager)
getEmailAddressVisibilityTypes
public java.util.List<HTMLPairType> getEmailAddressVisibilityTypes()
isPassConfirmationConfigurable
public boolean isPassConfirmationConfigurable()
- Is password confirmation (websudo) configurable, or is it disabled due to using a customer authenticator or
a system property.
- Returns:
- true if password confirmation can be configured
- See Also:
AuthenticatorOverwrite
getExternalUserManagement
public boolean getExternalUserManagement()
isExternalUserManagement
public boolean isExternalUserManagement()
setExternalUserManagement
public void setExternalUserManagement(boolean externalUserManagement)
getEmailAddressVisibility
public java.lang.String getEmailAddressVisibility()
setEmailAddressVisibility
public void setEmailAddressVisibility(java.lang.String emailAddressVisibility)
isAllowRemoteApiAnonymous
public boolean isAllowRemoteApiAnonymous()
setAllowRemoteApiAnonymous
public void setAllowRemoteApiAnonymous(boolean allowRemoteApiAnonymous)
isNofollowExternalLinks
public boolean isNofollowExternalLinks()
setNofollowExternalLinks
public void setNofollowExternalLinks(boolean nofollowExternalLinks)
isAntiXssMode
public boolean isAntiXssMode()
setAntiXssMode
public void setAntiXssMode(boolean antiXssMode)
isEnableSpaceStyles
public boolean isEnableSpaceStyles()
setEnableSpaceStyles
public void setEnableSpaceStyles(boolean enableSpaceStyles)
isShowSystemInfoIn500Page
public boolean isShowSystemInfoIn500Page()
setShowSystemInfoIn500Page
public void setShowSystemInfoIn500Page(boolean showSystemInfoIn500Page)
getMaxRssItems
public int getMaxRssItems()
setMaxRssItems
public void setMaxRssItems(int maxRssItems)
isXsrfAddComments
public boolean isXsrfAddComments()
setXsrfAddComments
public void setXsrfAddComments(boolean xsrfAddComments)
isAddWildcardsToUserAndGroupSearches
public boolean isAddWildcardsToUserAndGroupSearches()
setAddWildcardsToUserAndGroupSearches
public void setAddWildcardsToUserAndGroupSearches(boolean addWildcardsToUserAndGroupSearches)
isEnableElevatedSecurityCheck
public boolean isEnableElevatedSecurityCheck()
setEnableElevatedSecurityCheck
public void setEnableElevatedSecurityCheck(boolean enableElevatedSecurityCheck)
getLoginAttemptsThreshold
public int getLoginAttemptsThreshold()
setLoginAttemptsThreshold
public void setLoginAttemptsThreshold(int loginAttemptsThreshold)
isWebSudoEnabled
public boolean isWebSudoEnabled()
setWebSudoEnabled
public void setWebSudoEnabled(boolean webSudoEnabled)
getWebSudoTimeout
public long getWebSudoTimeout()
setWebSudoTimeout
public void setWebSudoTimeout(long webSudoTimeout)
isEditMode
public boolean isEditMode()
- Specified by:
isEditMode
in interface FormAware
getRssTimeout
public int getRssTimeout()
- The RSS Feed timeout in seconds.
setRssTimeout
public void setRssTimeout(int rssTimeout)
getPageTimeout
public int getPageTimeout()
- The time allowed to render a page, measured in settings.
setPageTimeout
public void setPageTimeout(int pageTimeout)
- Restrict the time allowed to render a page, measured in settings.
getAttachmentSecurityLevels
public java.util.List<com.atlassian.core.util.PairType> getAttachmentSecurityLevels()
getAttachmentSecurityLevel
public java.lang.String getAttachmentSecurityLevel()
getAttachmentSecurityLevelDisplay
public java.lang.String getAttachmentSecurityLevelDisplay()
setAttachmentSecurityLevel
public void setAttachmentSecurityLevel(java.lang.String attachmentSecurityLevel)
Copyright © 2003-2013 Atlassian. All Rights Reserved.