public class SecurityConfigurationAction extends ConfluenceActionSupport implements FormAware
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, personService, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
SecurityConfigurationAction() |
Modifier and Type | Method and Description |
---|---|
String |
doDefault()
Default webwork action execution method.
|
String |
doView() |
String |
execute() |
String |
getAttachmentSecurityLevel() |
String |
getAttachmentSecurityLevelDisplay() |
List<com.atlassian.core.util.PairType> |
getAttachmentSecurityLevels() |
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 |
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 |
setAttachmentSecurityLevel(String attachmentSecurityLevel) |
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) |
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getAccessMode, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageJs, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPersonService, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUserAccessor, getUserByName, getUserFullName, getUserHasBrowseUsersPermission, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setAccessModeService, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, withServletRequestSupplier
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
validate
public boolean isPermitted()
isPermitted
in class ConfluenceActionSupport
public String doDefault() throws Exception
ConfluenceActionSupport
doDefault
in class ConfluenceActionSupport
Exception
- if something goes wrongpublic String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public boolean isSystemAdmin()
public SpaceManager getSpaceManager()
public void setSpaceManager(SpaceManager spaceManager)
public List<HTMLPairType> getEmailAddressVisibilityTypes()
public boolean isPassConfirmationConfigurable()
AuthenticatorOverwrite
public boolean getExternalUserManagement()
public boolean isExternalUserManagement()
public void setExternalUserManagement(boolean externalUserManagement)
public String getEmailAddressVisibility()
public void setEmailAddressVisibility(String emailAddressVisibility)
public boolean isAllowRemoteApiAnonymous()
public void setAllowRemoteApiAnonymous(boolean allowRemoteApiAnonymous)
public boolean isNofollowExternalLinks()
public void setNofollowExternalLinks(boolean nofollowExternalLinks)
public boolean isEnableSpaceStyles()
public void setEnableSpaceStyles(boolean enableSpaceStyles)
public boolean isShowSystemInfoIn500Page()
public void setShowSystemInfoIn500Page(boolean showSystemInfoIn500Page)
public int getMaxRssItems()
public void setMaxRssItems(int maxRssItems)
public boolean isXsrfAddComments()
public void setXsrfAddComments(boolean xsrfAddComments)
public boolean isAddWildcardsToUserAndGroupSearches()
public void setAddWildcardsToUserAndGroupSearches(boolean addWildcardsToUserAndGroupSearches)
public boolean isEnableElevatedSecurityCheck()
public void setEnableElevatedSecurityCheck(boolean enableElevatedSecurityCheck)
public int getLoginAttemptsThreshold()
public void setLoginAttemptsThreshold(int loginAttemptsThreshold)
public boolean isWebSudoEnabled()
public void setWebSudoEnabled(boolean webSudoEnabled)
public long getWebSudoTimeout()
public void setWebSudoTimeout(long webSudoTimeout)
public boolean isEditMode()
isEditMode
in interface FormAware
public int getRssTimeout()
public void setRssTimeout(int rssTimeout)
public int getPageTimeout()
public void setPageTimeout(int pageTimeout)
public List<com.atlassian.core.util.PairType> getAttachmentSecurityLevels()
public String getAttachmentSecurityLevel()
public String getAttachmentSecurityLevelDisplay()
public void setAttachmentSecurityLevel(String attachmentSecurityLevel)
Copyright © 2003–2021 Atlassian. All rights reserved.