Class NotPermittedAction
- java.lang.Object
-
- com.opensymphony.xwork2.ActionSupport
-
- com.atlassian.confluence.core.ConfluenceActionSupport
-
- com.atlassian.confluence.user.actions.AbstractUsersAction
-
- com.atlassian.confluence.user.actions.AbstractLoginSignupAction
-
- com.atlassian.confluence.user.actions.LoginAction
-
- com.atlassian.confluence.security.actions.NotPermittedAction
-
- All Implemented Interfaces:
Beanable
,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.interceptor.ServletRequestAware
public class NotPermittedAction extends LoginAction implements Beanable, org.apache.struts2.interceptor.ServletRequestAware
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String[]
JSON_CONTENT_TYPES
Deprecated.since 5.10 UseJSON_CONTENT_TYPES2
-
Fields inherited from class com.atlassian.confluence.user.actions.AbstractLoginSignupAction
os_destination, signupManager, token, upgradeManager
-
Fields inherited from class com.atlassian.confluence.user.actions.AbstractUsersAction
user, userKey, username
-
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, personService, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
-
-
Constructor Summary
Constructors Constructor Description NotPermittedAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
execute()
On successful login, redirection will be handled by the LoginFilter based on os_destination or the original URL stored in the sessionObject
getBean()
String
getCssClass()
String
getKey()
String
getLoginUrl()
String
getMessage()
Space
getSpace()
String
getTitle()
String
getUsername()
void
setKey(String key)
void
setServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
void
setSpaceManager(SpaceManager spaceManager)
-
Methods inherited from class com.atlassian.confluence.user.actions.LoginAction
doDefault, getLoginFilter, getOs_username, isElevatedSecurityCheckRequired, isPermitted, isShowForgottenPasswordHelp, setHttpContext, setLoginManager, setOs_username, validate
-
Methods inherited from class com.atlassian.confluence.user.actions.AbstractLoginSignupAction
getCaptchaManager, getClusterManager, getCurrentYearAsString, getLanguage, getLanguages, getOs_destination, getSignupManager, getSignupURL, getToken, getUpgradeManager, isBrowserLanguageEnabled, isFromNotPermitted, isLogout, isMobileAppWebView, isShowSignUp, setCaptchaManager, setClusterManager, setDarkFeaturesManager, setFromNotPermitted, setLanguage, setLogout, setOs_destination, setSignupManager, setToken, setUpgradeManager, setWritableDirectoryExistsCriteria, shouldRememberMeCheckboxBeOmitted, shouldShowMobileBanner
-
Methods inherited from class com.atlassian.confluence.user.actions.AbstractUsersAction
getRemoteUsername, getUrlEncodeUsername, getUser, getUserKey, isLicensedToAddMoreUsers, setUserKey, setUsername
-
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getAccessMode, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getBootstrapStatusProvider, 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, 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, setApiContentUiSupport, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, withServletRequestSupplier
-
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocaleProvider, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors
-
-
-
-
Field Detail
-
JSON_CONTENT_TYPES
@Deprecated public static final String[] JSON_CONTENT_TYPES
Deprecated.since 5.10 UseJSON_CONTENT_TYPES2
-
-
Method Detail
-
execute
@XsrfProtectionExcluded public String execute() throws Exception
Description copied from class:LoginAction
On successful login, redirection will be handled by the LoginFilter based on os_destination or the original URL stored in the session- Specified by:
execute
in interfacecom.opensymphony.xwork2.Action
- Overrides:
execute
in classLoginAction
- Throws:
Exception
-
getLoginUrl
public String getLoginUrl()
- Returns:
- the login url
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
getSpace
public Space getSpace()
-
getUsername
public String getUsername()
- Overrides:
getUsername
in classAbstractUsersAction
-
setSpaceManager
public void setSpaceManager(SpaceManager spaceManager)
-
getTitle
public String getTitle()
-
getMessage
public String getMessage()
-
getCssClass
public String getCssClass()
-
setServletRequest
public void setServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
- Specified by:
setServletRequest
in interfaceorg.apache.struts2.interceptor.ServletRequestAware
-
-