Class WebworkPluginSecurityServiceHelper
java.lang.Object
com.atlassian.jira.plugin.webwork.WebworkPluginSecurityServiceHelper
- All Implemented Interfaces:
Startable
This allows for the roles-required attribute to be used within plugins.
- Since:
- v5.0
-
Constructor Summary
ConstructorsConstructorDescriptionWebworkPluginSecurityServiceHelper(com.atlassian.plugin.PluginAccessor pluginAccesor, com.atlassian.event.api.EventPublisher eventPublisher) -
Method Summary
Modifier and TypeMethodDescriptiongetRequiredRoles(jakarta.servlet.http.HttpServletRequest request) This finds the required roles for a given URL.voidvoidstart()This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework.
-
Constructor Details
-
WebworkPluginSecurityServiceHelper
public WebworkPluginSecurityServiceHelper(com.atlassian.plugin.PluginAccessor pluginAccesor, com.atlassian.event.api.EventPublisher eventPublisher)
-
-
Method Details
-
onJiraPluginCacheResetEvent
-
getRequiredRoles
This finds the required roles for a given URL. Uses the same method as the WebworkService- Parameters:
request-- Returns:
- Set of required roles
-
start
Description copied from interface:StartableThis method will be called after the plugin system is fully initialised and all components added to the dependency injection framework.
-