Class JiraSeraphSecurityService
java.lang.Object
com.atlassian.jira.plugin.webwork.JiraSeraphSecurityService
- All Implemented Interfaces:
com.atlassian.seraph.Initable
,com.atlassian.seraph.SecurityService
,Serializable
public class JiraSeraphSecurityService
extends Object
implements com.atlassian.seraph.SecurityService
JiraSeraphSecurityService configures Seraph based on Webwork plugin module atlassian-plugin.xml
This allows for the roles-required attribute to be used within plugins and for pluggable Authorisation as well.
- Since:
- v5.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
Seraph Initable cleanup method.getRequiredRoles
(javax.servlet.http.HttpServletRequest request) This hands off to the LoginManager, who is able to live in the pico containervoid
Seraph Initable initialisation method.
-
Constructor Details
-
JiraSeraphSecurityService
public JiraSeraphSecurityService()
-
-
Method Details
-
init
Seraph Initable initialisation method. As we rely on plugin events to setup our required roles, we don't do anything here- Specified by:
init
in interfacecom.atlassian.seraph.Initable
-
destroy
public void destroy()Seraph Initable cleanup method.- Specified by:
destroy
in interfacecom.atlassian.seraph.SecurityService
-
getRequiredRoles
This hands off to the LoginManager, who is able to live in the pico container- Specified by:
getRequiredRoles
in interfacecom.atlassian.seraph.SecurityService
-