com.atlassian.confluence.admin.actions
Class SecurityConfigurationAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.confluence.core.ConfluenceActionSupport
          extended by 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, Serializable

public class SecurityConfigurationAction
extends ConfluenceActionSupport
implements FormAware

See Also:
Serialized Form

Field Summary
 
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
 
Constructor Summary
SecurityConfigurationAction()
           
 
Method Summary
 String doDefault()
          Default webwork action execution method.
 String doView()
           
 String execute()
           
 String getEmailAddressVisibility()
           
 List<HTMLPairType> getEmailAddressVisibilityTypes()
           
 boolean getExternalUserManagement()
           
 int getLoginAttemptsThreshold()
           
 int getMaxRssItems()
           
 int getPageTimeout()
          The time allowed to render a page, measured in settings.
 int getRssTimeout()
          The RSS Feed timeout in seconds.
 SpaceManager getSpaceManager()
           
 long getWebSudoTimeout()
           
 boolean isAddWildcardsToUserAndGroupSearches()
           
 boolean isAllowRemoteApiAnonymous()
           
 boolean isAntiXssMode()
           
 boolean isEditMode()
           
 boolean isEnableElevatedSecurityCheck()
           
 boolean isEnableSpaceStyles()
           
 boolean isExternalUserManagement()
           
 boolean isNofollowExternalLinks()
           
 boolean isPassConfirmationConfigurable()
          Is password confirmation (websudo) configurable, or is it disabled due to using a customer authenticator or a system property.
 boolean isPermitted()
           
 boolean isShowSystemInfoIn500Page()
           
 boolean isSystemAdmin()
           
 boolean isWebSudoEnabled()
           
 boolean isXsrfAddComments()
           
 void setAddWildcardsToUserAndGroupSearches(boolean addWildcardsToUserAndGroupSearches)
           
 void setAllowRemoteApiAnonymous(boolean allowRemoteApiAnonymous)
           
 void setAntiXssMode(boolean antiXssMode)
           
 void setEmailAddressVisibility(String emailAddressVisibility)
           
 void setEnableElevatedSecurityCheck(boolean enableElevatedSecurityCheck)
           
 void setEnableSpaceStyles(boolean enableSpaceStyles)
           
 void setExternalUserManagement(boolean externalUserManagement)
           
 void setLoginAttemptsThreshold(int loginAttemptsThreshold)
           
 void setMaxRssItems(int maxRssItems)
           
 void setNofollowExternalLinks(boolean nofollowExternalLinks)
           
 void setPageTimeout(int pageTimeout)
          Restrict the time allowed to render a page, measured in settings.
 void setRssTimeout(int rssTimeout)
           
 void setShowSystemInfoIn500Page(boolean showSystemInfoIn500Page)
           
 void setSpaceManager(SpaceManager spaceManager)
           
 void setWebSudoEnabled(boolean webSudoEnabled)
           
 void setWebSudoTimeout(long webSudoTimeout)
           
 void setXsrfAddComments(boolean xsrfAddComments)
           
 
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getActionName, getActionName, getBootstrapManager, 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, getRandom, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserFullName, getUserInterfaceState, 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
 
Methods inherited from interface com.atlassian.confluence.validation.MessageHolderAware
validate
 

Constructor Detail

SecurityConfigurationAction

public SecurityConfigurationAction()
Method Detail

isPermitted

public boolean isPermitted()
Overrides:
isPermitted in class ConfluenceActionSupport

doView

public String doView()
              throws Exception
Throws:
Exception

doDefault

public String doDefault()
                 throws Exception
Description copied from class: ConfluenceActionSupport
Default webwork action execution method.

Overrides:
doDefault in class ConfluenceActionSupport
Returns:
the action result
Throws:
Exception - if something goes wrong

execute

public String execute()
               throws Exception
Specified by:
execute in interface com.opensymphony.xwork.Action
Overrides:
execute in class com.opensymphony.xwork.ActionSupport
Throws:
Exception

isSystemAdmin

public boolean isSystemAdmin()

getSpaceManager

public SpaceManager getSpaceManager()

setSpaceManager

public void setSpaceManager(SpaceManager spaceManager)

getEmailAddressVisibilityTypes

public 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 String getEmailAddressVisibility()

setEmailAddressVisibility

public void setEmailAddressVisibility(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.



Copyright © 2003-2012 Atlassian. All Rights Reserved.