Package | Description |
---|---|
com.atlassian.jira.dev.reference.plugin.security.auth | |
com.atlassian.jira.security.auth |
Modifier and Type | Method and Description |
---|---|
Authorisation.Decision |
ReferenceAuthorisation.authoriseForLogin(ApplicationUser user,
javax.servlet.http.HttpServletRequest httpServletRequest) |
Authorisation.Decision |
ReferenceAuthorisation.authoriseForRole(ApplicationUser user,
javax.servlet.http.HttpServletRequest httpServletRequest,
String role) |
Modifier and Type | Method and Description |
---|---|
Authorisation.Decision |
Authorisation.authoriseForLogin(ApplicationUser user,
javax.servlet.http.HttpServletRequest httpServletRequest)
Called to ask whether a user is authorised to perform the given request when trying to login and estblish a new
session with JIRA.
|
Authorisation.Decision |
Authorisation.authoriseForRole(ApplicationUser user,
javax.servlet.http.HttpServletRequest httpServletRequest,
String role)
This is called by the security layers to ask whether a user is authorised to perform the given request with the
provided role string.
|
static Authorisation.Decision |
Authorisation.Decision.toDecision(boolean answer)
Helper to turn boolean answers into GRANTED or DENIED
|
static Authorisation.Decision |
Authorisation.Decision.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Authorisation.Decision[] |
Authorisation.Decision.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2002-2019 Atlassian. All Rights Reserved.