Class UpdateMailServer

java.lang.Object
org.apache.struts2.ActionSupport
com.atlassian.crowd.console.action.BaseAction
com.atlassian.crowd.console.action.options.UpdateMailServer
All Implemented Interfaces:
Serializable, org.apache.struts2.action.Action, org.apache.struts2.action.SessionAware, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.locale.LocaleProvider, org.apache.struts2.text.TextProvider, org.apache.struts2.Validateable

public class UpdateMailServer extends BaseAction implements org.apache.struts2.action.SessionAware
See Also:
  • Constructor Details

    • UpdateMailServer

      public UpdateMailServer()
  • Method Details

    • withSession

      public void withSession(Map<String,Object> map)
      Specified by:
      withSession in interface org.apache.struts2.action.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 interface org.apache.struts2.action.Action
      Overrides:
      execute in class BaseAction
      Throws:
      com.atlassian.oauth2.client.api.storage.token.exception.UnrecoverableTokenException
      com.atlassian.oauth2.client.api.storage.token.exception.RecoverableTokenException
    • startOAuth2Authorization

      public String startOAuth2Authorization()
    • completeOAuth2Authorization

      public String completeOAuth2Authorization()
    • getAuthenticationMethods

      public List<OAuth2Utils.AuthenticationMethod> getAuthenticationMethods()
    • setPropertyManager

      public void setPropertyManager(PropertyManager propertyManager)
      Overrides:
      setPropertyManager in class BaseAction
    • setMailManager

      public void setMailManager(MailManager mailManager)
    • setApplicationProperties

      public void setApplicationProperties(com.atlassian.sal.api.ApplicationProperties applicationProperties)
    • setFlowRequestServiceSupplier

      public void setFlowRequestServiceSupplier(FlowRequestServiceSupplier flowRequestServiceSupplier)
    • setClientConfigStorageServiceSupplier

      public void setClientConfigStorageServiceSupplier(ClientConfigStorageServiceSupplier clientConfigStorageServiceSupplier)
    • setMailServerModel

      protected void setMailServerModel(MailServerModel mailServerModel)
    • getMailServerModel

      public MailServerModel getMailServerModel()
    • setAuthorizedOauth2ConfigurationId

      public void setAuthorizedOauth2ConfigurationId(String authorizedOauth2ConfigurationId)
    • getAuthorizedOauth2ConfigurationId

      public String getAuthorizedOauth2ConfigurationId()
    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getFrom

      public String getFrom()
    • getStartTLS

      public String getStartTLS()
    • setPort

      public void setPort(String port)
    • setUseSSL

      public void setUseSSL(String useSSL)
    • setFrom

      public void setFrom(String from)
    • getPrefix

      public String getPrefix()
    • setJndiMailActive

      public void setJndiMailActive(String jndiMailActive)
    • getNotificationEmails

      public List<String> getNotificationEmails()
    • getJndiLocation

      public String getJndiLocation()
    • setPrefix

      public void setPrefix(String prefix)
    • getHost

      public String getHost()
    • getTimeout

      public String getTimeout()
    • getOauth2ConfigurationId

      public String getOauth2ConfigurationId()
    • setHost

      public void setHost(String host)
    • getPort

      public String getPort()
    • setJndiLocation

      public void setJndiLocation(String jndiLocation)
    • setPassword

      public void setPassword(String password)
    • setTimeout

      public void setTimeout(String timeout)
    • getUseSSL

      public String getUseSSL()
    • setOauth2ConfigurationId

      public void setOauth2ConfigurationId(String oauth2ConfigurationId)
    • getUsername

      public String getUsername()
    • setUsername

      public void setUsername(String username)
    • setNotificationEmails

      public void setNotificationEmails(List<String> notificationEmails)
    • getJndiMailActive

      public String getJndiMailActive()
    • setStartTLS

      public void setStartTLS(String startTLS)
    • getPassword

      public String getPassword()
    • isPasswordExists

      public boolean isPasswordExists()
    • isPasswordEmpty

      public boolean isPasswordEmpty()