Class UpdateMailServer
java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.crowd.console.action.BaseAction
com.atlassian.crowd.console.action.options.UpdateMailServer
- All Implemented Interfaces:
com.opensymphony.xwork2.Action
,com.opensymphony.xwork2.interceptor.ValidationAware
,com.opensymphony.xwork2.LocaleProvider
,com.opensymphony.xwork2.ModelDriven<MailServerModel>
,com.opensymphony.xwork2.TextProvider
,com.opensymphony.xwork2.Validateable
,Serializable
,org.apache.struts2.interceptor.SessionAware
public class UpdateMailServer
extends BaseAction
implements com.opensymphony.xwork2.ModelDriven<MailServerModel>, org.apache.struts2.interceptor.SessionAware
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.atlassian.crowd.console.action.BaseAction
actionHelper, actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, clusterService, crowdLicenseManager, directoryManager, initialLoad, propertyManager, rememberMeService, SMALL_AVATAR_SIZE, smallAvatarUrl, tab, tokenAuthenticationManager
Fields inherited from class com.opensymphony.xwork2.ActionSupport
container
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexecute()
getModel()
void
setApplicationProperties
(com.atlassian.sal.api.ApplicationProperties applicationProperties) void
setAuthorizedOauth2ConfigurationId
(String authorizedOauth2ConfigurationId) void
setClientConfigStorageServiceSupplier
(ClientConfigStorageServiceSupplier clientConfigStorageServiceSupplier) void
setFlowRequestServiceSupplier
(FlowRequestServiceSupplier flowRequestServiceSupplier) void
setMailManager
(MailManager mailManager) protected void
setMailServerModel
(MailServerModel mailServerModel) void
setPropertyManager
(PropertyManager propertyManager) void
setSession
(Map<String, Object> map) Methods inherited from class com.atlassian.crowd.console.action.BaseAction
addActionError, addActionMessage, applyFieldError, applyFieldErrors, applyValidationErrors, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, bindInformationAboutLicense, containsActionMessages, containsErrorMessages, directory, findAvatarUrl, getActionMessageAlertColor, getBootstrapManager, getCrowdApplication, getCurrentLicenseResourceTotal, getDisplayableLink, getHttpRequest, getImageLocation, getImageTitle, getLabel, getLicense, getLink, getLocaleProvider, getPasswordComplexityMessage, getRemoteUser, getSession, getSitemeshPageProperties, getSmallAvatarUrl, getTab, getText, getText, getTextProvider, getUserName, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, getXsrfToken, getXsrfTokenName, isAtResourceLimit, isAuthenticated, isDataCenterLicense, isEvaluation, isGroupAdmin, isInitialLoad, isLicenseExpired, isLicenseForged, isRestartRequiredToEnableClustering, isSubscription, isSysAdmin, isWithinGracePeriod, renderFreemarkerTemplate, resolveAvatarUri, setActionHelper, setApplicationManager, setApplicationService, setClientProperties, setClusterService, setCrowdApplication, setCrowdLicenseManager, setDirectoryManager, setRememberMeService, setTab, setTokenAuthenticationManager, setWebInterfaceManager, setWebResourceManager, setXsrfTokenGenerator
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
-
Constructor Details
-
UpdateMailServer
public UpdateMailServer()
-
-
Method Details
-
setSession
- Specified by:
setSession
in interfaceorg.apache.struts2.interceptor.SessionAware
-
execute
public String execute() throws com.atlassian.oauth2.client.api.storage.token.exception.UnrecoverableTokenException, com.atlassian.oauth2.client.api.storage.token.exception.RecoverableTokenException- Specified by:
execute
in interfacecom.opensymphony.xwork2.Action
- Overrides:
execute
in classBaseAction
- Throws:
com.atlassian.oauth2.client.api.storage.token.exception.UnrecoverableTokenException
com.atlassian.oauth2.client.api.storage.token.exception.RecoverableTokenException
-
startOAuth2Authorization
-
completeOAuth2Authorization
-
getAuthenticationMethods
-
setPropertyManager
- Overrides:
setPropertyManager
in classBaseAction
-
setMailManager
-
setApplicationProperties
public void setApplicationProperties(com.atlassian.sal.api.ApplicationProperties applicationProperties) -
setFlowRequestServiceSupplier
-
setClientConfigStorageServiceSupplier
public void setClientConfigStorageServiceSupplier(ClientConfigStorageServiceSupplier clientConfigStorageServiceSupplier) -
setMailServerModel
-
getModel
- Specified by:
getModel
in interfacecom.opensymphony.xwork2.ModelDriven<MailServerModel>
-
setAuthorizedOauth2ConfigurationId
-
getAuthorizedOauth2ConfigurationId
-