Class ConnectToJiraSyncDirectoryAction

  • All Implemented Interfaces:
    WebInterface, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

    public class ConnectToJiraSyncDirectoryAction
    extends AbstractSetupAction
    Synchronises the Jira directory and updates the admin user in the Confluence internal directory with the details of the admin user (with the same username and password) from the Jira directory.
    Since:
    4.0
    See Also:
    Serialized Form
    • Constructor Detail

      • ConnectToJiraSyncDirectoryAction

        public ConnectToJiraSyncDirectoryAction()
    • Method Detail

      • execute

        @XsrfProtectionExcluded
        public String execute()
                       throws Exception
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.ActionSupport
        Throws:
        Exception
      • setCrowdDirectoryService

        public void setCrowdDirectoryService​(com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService)
      • setLongRunningTaskManager

        public void setLongRunningTaskManager​(LongRunningTaskManager longRunningTaskManager)
      • setCrowdDirectoryManager

        public void setCrowdDirectoryManager​(com.atlassian.crowd.manager.directory.DirectoryManager crowdDirectoryManager)
      • getTask

        public com.atlassian.core.task.longrunning.LongRunningTask getTask()
      • getTaskId

        public String getTaskId()