public class

JiraPathService

extends Object
implements SecurityService
java.lang.Object
   ↳ com.atlassian.jira.security.JiraPathService

Class Overview

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.

Summary

Public Constructors
JiraPathService()
Public Methods
void destroy()
Set<String> getRequiredRoles(HttpServletRequest httpServletRequest)
void init(Map<StringString> stringStringMap, SecurityConfig securityConfig)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.seraph.Initable
From interface com.atlassian.seraph.SecurityService

Public Constructors

public JiraPathService ()

Public Methods

public void destroy ()

public Set<String> getRequiredRoles (HttpServletRequest httpServletRequest)

public void init (Map<StringString> stringStringMap, SecurityConfig securityConfig)