Package com.atlassian.jira.security
Class JiraPathService
java.lang.Object
com.atlassian.jira.security.JiraPathService
- All Implemented Interfaces:
com.atlassian.seraph.Initable
,com.atlassian.seraph.SecurityService
,Serializable
A security service that requires the
"admin"
role for any URL that starts with "/secure/admin/"
.
JIRA used to use Seraph's own PathService
to enforce this, but that is a general purpose service that
is really better suited to managing thousands of path-based rules. We only have one rule, so it is overkill
and inefficient for our purposes.
- Since:
- v6.4
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JiraPathService
public JiraPathService()
-
-
Method Details
-
init
public void init(Map<String, String> stringStringMap, com.atlassian.seraph.config.SecurityConfig securityConfig) - Specified by:
init
in interfacecom.atlassian.seraph.Initable
-
destroy
public void destroy()- Specified by:
destroy
in interfacecom.atlassian.seraph.SecurityService
-
getRequiredRoles
- Specified by:
getRequiredRoles
in interfacecom.atlassian.seraph.SecurityService
-