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.action.ServletRequestAware,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_TYPESDeprecated.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, systemInformationService, userAccessor, webInterfaceManager
-
-
Constructor Summary
Constructors Constructor Description NotPermittedAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringexecute()On successful login, redirection will be handled by the LoginFilter based on os_destination or the original URL stored in the sessionObjectgetBean()StringgetCssClass()StringgetKey()StringgetLoginUrl()StringgetMessage()SpacegetSpace()StringgetTitle()StringgetUsername()voidsetKey(String key)voidsetServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest)voidsetSpaceManager(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, getContentUiSupport, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocBean, 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, setApiDateFormatService, setApiPersonService, setBootstrapManager, setBootstrapStatusProvider, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, useSkipAccessCheck, 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
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
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:LoginActionOn successful login, redirection will be handled by the LoginFilter based on os_destination or the original URL stored in the session- Specified by:
executein interfacecom.opensymphony.xwork2.Action- Overrides:
executein 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:
getUsernamein 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:
setServletRequestin interfaceorg.apache.struts2.interceptor.ServletRequestAware
-
-