com.atlassian.jira.security.JiraAuthenticationContext Java Examples
The following examples show how to use
com.atlassian.jira.security.JiraAuthenticationContext.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MetricListener.java From jira-prometheus-exporter with BSD 2-Clause "Simplified" License | 5 votes |
public MetricListener( EventPublisher eventPublisher, IssueManager issueManager, EventTypeManager eventTypeManager, JiraAuthenticationContext jiraAuthenticationContext, MetricCollector metricCollector) { this.eventPublisher = eventPublisher; this.issueManager = issueManager; this.eventTypeManager = eventTypeManager; this.jiraAuthenticationContext = jiraAuthenticationContext; this.metricCollector = metricCollector; }
Example #2
Source File: HttpHandlerServlet.java From jira-groovioli with BSD 2-Clause "Simplified" License | 5 votes |
public HttpHandlerServlet( RestDataManager restDataManager, ScriptManager scriptManager, JiraAuthenticationContext jiraAuthenticationContext, UserUtil userUtil) { this.restDataManager = restDataManager; this.scriptManager = scriptManager; this.jiraAuthenticationContext = jiraAuthenticationContext; this.userUtil = userUtil; }
Example #3
Source File: RestResource.java From jira-groovioli with BSD 2-Clause "Simplified" License | 5 votes |
public RestResource( JiraAuthenticationContext jiraAuthenticationContext, GlobalPermissionManager globalPermissionManager, RestDataManager restDataManager) { this.jiraAuthenticationContext = jiraAuthenticationContext; this.globalPermissionManager = globalPermissionManager; this.restDataManager = restDataManager; }
Example #4
Source File: ListenerResource.java From jira-groovioli with BSD 2-Clause "Simplified" License | 5 votes |
public ListenerResource( JiraAuthenticationContext jiraAuthenticationContext, GlobalPermissionManager globalPermissionManager, ListenerDataManager listenerDataManager) { this.jiraAuthenticationContext = jiraAuthenticationContext; this.globalPermissionManager = globalPermissionManager; this.listenerDataManager = listenerDataManager; }
Example #5
Source File: VoteAction.java From planning-poker-plugin with MIT License | 5 votes |
public VoteAction(JiraAuthenticationContext authContext, SessionService sessionService, VoteService voteService, UserFormats userFormats, AvatarService avatarService, PermissionManager permissionManager, ConfigService configService) { this.authContext = authContext; this.sessionService = sessionService; this.voteService = voteService; this.userFormats = userFormats; this.avatarService = avatarService; this.permissionManager = permissionManager; this.configService = configService; }
Example #6
Source File: ShowPokerSessionsAction.java From planning-poker-plugin with MIT License | 5 votes |
public ShowPokerSessionsAction(SessionService sessionService, JiraAuthenticationContext authContext, VoteService voteService, PermissionManager permissionManager) { this.sessionService = sessionService; this.authContext = authContext; this.voteService = voteService; this.permissionManager = permissionManager; }
Example #7
Source File: SessionAction.java From planning-poker-plugin with MIT License | 5 votes |
public SessionAction(IssueService issueService, JiraAuthenticationContext authContext, SessionService sessionService, DateTimeFormatter dateTimeFormatter, PermissionManager permissionManager, TemplateRenderer templateRenderer) { this.issueService = issueService; this.authContext = authContext; this.sessionService = sessionService; this.dateTimeFormatter = dateTimeFormatter.forLoggedInUser(); this.permissionManager = permissionManager; this.templateRenderer = templateRenderer; }
Example #8
Source File: PlanningPokerPanel.java From planning-poker-plugin with MIT License | 5 votes |
public PlanningPokerPanel(SessionService sessionService, TemplateRenderer templateRenderer, DateTimeFormatter dateTimeFormatter, UserFormats userFormats, AvatarService avatarService, JiraAuthenticationContext authContext, VoteService voteService, PermissionManager permissionManager) { this.sessionService = sessionService; this.voteService = voteService; this.templateRenderer = templateRenderer; this.dateTimeFormatter = dateTimeFormatter.forLoggedInUser(); this.userFormats = userFormats; this.avatarService = avatarService; this.authContext = authContext; this.permissionManager = permissionManager; }
Example #9
Source File: SessionService.java From planning-poker-plugin with MIT License | 5 votes |
public SessionService(PluginSettingsFactory pluginSettingsFactory, IssueService issueService, JiraAuthenticationContext authContext, UserManager userManager, VoteService voteService) { this.pluginSettings = pluginSettingsFactory.createGlobalSettings(); this.issueService = issueService; this.authContext = authContext; this.userManager = userManager; this.voteService = voteService; }
Example #10
Source File: VoteService.java From planning-poker-plugin with MIT License | 5 votes |
public VoteService(PluginSettingsFactory pluginSettingsFactory, IssueService issueService, JiraAuthenticationContext authContext, UserManager userManager) { this.pluginSettings = pluginSettingsFactory.createGlobalSettings(); this.issueService = issueService; this.authContext = authContext; this.userManager = userManager; }
Example #11
Source File: ScriptTemplateManagerImpl.java From jira-groovioli with BSD 2-Clause "Simplified" License | 4 votes |
public ScriptTemplateManagerImpl( GroupManager groupManager, ProjectRoleManager projectRoleManager, WatcherManager watcherManager, UserManager userManager, CustomFieldManager customFieldManager, AttachmentManager attachmentManager, JiraAuthenticationContext jiraAuthenticationContext, IssueLinkManager issueLinkManager, CommentManager commentManager, IssueFactory issueFactory, IssueManager issueManager, SubTaskManager subTaskManager, ConstantsManager constantsManager, ProjectManager projectManager, LabelManager labelManager, ChangeHistoryManager changeHistoryManager, VoteManager voteManager, WorklogManager worklogManager, VersionManager versionManager, OptionsManager optionsManager, ApplicationProperties applicationProperties) { baseVariables = new HashMap<>(); baseVariables.put("groupManager", groupManager); baseVariables.put("watcherManager", watcherManager); baseVariables.put("userManager", userManager); baseVariables.put("customFieldManager", customFieldManager); baseVariables.put("workflowTransitionUtil", JiraUtils.loadComponent(WorkflowTransitionUtilImpl.class)); baseVariables.put("attachmentManager", attachmentManager); baseVariables.put("jiraAuthenticationContext", jiraAuthenticationContext); baseVariables.put("projectRoleManager", projectRoleManager); baseVariables.put("issueLinkManager", issueLinkManager); baseVariables.put("commentManager", commentManager); baseVariables.put("issueFactory", issueFactory); baseVariables.put("issueManager", issueManager); baseVariables.put("subTaskManager", subTaskManager); baseVariables.put("constantsManager", constantsManager); baseVariables.put("projectManager", projectManager); baseVariables.put("labelManager", labelManager); baseVariables.put("changeHistoryManager", changeHistoryManager); baseVariables.put("voteManager", voteManager); baseVariables.put("worklogManager", worklogManager); baseVariables.put("versionManager", versionManager); baseVariables.put("optionsManager", optionsManager); baseVariables.put("applicationProperties", applicationProperties); }
Example #12
Source File: ScriptManagerImpl.java From jira-groovioli with BSD 2-Clause "Simplified" License | 4 votes |
public ScriptManagerImpl( GroupManager groupManager, ProjectRoleManager projectRoleManager, WatcherManager watcherManager, UserManager userManager, CustomFieldManager customFieldManager, AttachmentManager attachmentManager, JiraAuthenticationContext jiraAuthenticationContext, IssueLinkManager issueLinkManager, CommentManager commentManager, IssueFactory issueFactory, IssueManager issueManager, SubTaskManager subTaskManager, ConstantsManager constantsManager, ProjectManager projectManager, LabelManager labelManager, ChangeHistoryManager changeHistoryManager, VoteManager voteManager, WorklogManager worklogManager, VersionManager versionManager, OptionsManager optionsManager, ApplicationProperties applicationProperties) { CompilerConfiguration config = new CompilerConfiguration(); config.setScriptBaseClass(GroovioliBase.class.getName()); shell = new GroovyShell(this.getClass().getClassLoader(), config); baseVariables = new HashMap<>(); baseVariables.put("groupManager", groupManager); baseVariables.put("watcherManager", watcherManager); baseVariables.put("userManager", userManager); baseVariables.put("customFieldManager", customFieldManager); baseVariables.put("workflowTransitionUtil", JiraUtils.loadComponent(WorkflowTransitionUtilImpl.class)); baseVariables.put("attachmentManager", attachmentManager); baseVariables.put("jiraAuthenticationContext", jiraAuthenticationContext); baseVariables.put("projectRoleManager", projectRoleManager); baseVariables.put("issueLinkManager", issueLinkManager); baseVariables.put("commentManager", commentManager); baseVariables.put("issueFactory", issueFactory); baseVariables.put("issueManager", issueManager); baseVariables.put("subTaskManager", subTaskManager); baseVariables.put("constantsManager", constantsManager); baseVariables.put("projectManager", projectManager); baseVariables.put("labelManager", labelManager); baseVariables.put("changeHistoryManager", changeHistoryManager); baseVariables.put("voteManager", voteManager); baseVariables.put("worklogManager", worklogManager); baseVariables.put("versionManager", versionManager); baseVariables.put("optionsManager", optionsManager); baseVariables.put("applicationProperties", applicationProperties); // DSL baseVariables.put("fieldOptionDsl", new FieldOptionDsl()); baseVariables.put("projectDsl", new ProjectDsl()); baseVariables.put("constantDsl", new ConstantDsl()); baseVariables.put("issueDsl", new IssueDsl()); scriptCache = CacheBuilder.newBuilder() .maximumSize(10_000) .expireAfterWrite(7, TimeUnit.DAYS) .build(new CacheLoader<String, Script>() { @Override public Script load(String scriptSource) throws CompilationFailedException { return shell.parse(scriptSource); } }); }