public class

WebworkPluginSecurityServiceHelper

extends Object
implements Startable
java.lang.Object
   ↳ com.atlassian.jira.plugin.webwork.WebworkPluginSecurityServiceHelper

Class Overview

This allows for the roles-required attribute to be used within plugins.

Summary

Public Constructors
WebworkPluginSecurityServiceHelper(PluginAccessor pluginAccesor, EventPublisher eventPublisher)
Public Methods
Set<String> getRequiredRoles(HttpServletRequest request)
This finds the required roles for a given URL.
void onPluginModuleDisabled(PluginModuleDisabledEvent event)
void onPluginModuleEnabled(PluginModuleEnabledEvent event)
void start()
This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.extension.Startable

Public Constructors

public WebworkPluginSecurityServiceHelper (PluginAccessor pluginAccesor, EventPublisher eventPublisher)

Public Methods

public Set<String> getRequiredRoles (HttpServletRequest request)

This finds the required roles for a given URL. Uses the same method as the WebworkService

Returns
  • Set of required roles

public void onPluginModuleDisabled (PluginModuleDisabledEvent event)

public void onPluginModuleEnabled (PluginModuleEnabledEvent event)

public void start ()

This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.

Throws
Exception