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
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
com.atlassian.seraph.Initable
|
From interface
com.atlassian.seraph.SecurityService
void
|
destroy()
|
Set<String>
|
getRequiredRoles(HttpServletRequest arg0)
|
|
Public Constructors
public
JiraPathService
()
Public Methods
public
Set<String>
getRequiredRoles
(HttpServletRequest httpServletRequest)
public
void
init
(Map<String, String> stringStringMap, SecurityConfig securityConfig)