public class JiraPathService extends Object implements com.atlassian.seraph.SecurityService
"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.
Constructor and Description |
---|
JiraPathService() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
Set<String> |
getRequiredRoles(javax.servlet.http.HttpServletRequest httpServletRequest) |
void |
init(Map<String,String> stringStringMap,
com.atlassian.seraph.config.SecurityConfig securityConfig) |
Copyright © 2002-2018 Atlassian. All Rights Reserved.