Class SecurityConfigurationAction

java.lang.Object
org.apache.struts2.ActionSupport
com.opensymphony.xwork2.ActionSupport
All Implemented Interfaces:
FormAware, WebInterface, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.Validateable

public class SecurityConfigurationAction extends ConfluenceActionSupport implements FormAware
See Also:
  • Constructor Details

    • SecurityConfigurationAction

      public SecurityConfigurationAction()
  • Method Details

    • isPermitted

      public boolean isPermitted()
      Description copied from class: ConfluenceActionSupport
      Overrides:
      isPermitted in class ConfluenceActionSupport
    • doView

      public String doView() throws Exception
      Throws:
      Exception
    • doDefault

      public String doDefault() throws Exception
      Description copied from class: ConfluenceActionSupport
      Convenient Action execution method which defaults to returning INPUT
      Overrides:
      doDefault in class ConfluenceActionSupport
      Throws:
      Exception
    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface org.apache.struts2.action.Action
      Overrides:
      execute in class org.apache.struts2.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:
    • 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)
    • 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 List<com.atlassian.core.util.PairType> getAttachmentSecurityLevels()
    • getAttachmentSecurityLevel

      public String getAttachmentSecurityLevel()
    • getAttachmentSecurityLevelDisplay

      public String getAttachmentSecurityLevelDisplay()
    • setAttachmentSecurityLevel

      public void setAttachmentSecurityLevel(String attachmentSecurityLevel)