public class JiraRoleMapper extends Object implements com.atlassian.seraph.auth.RoleMapper
Permissions.USE role.| Constructor and Description |
|---|
JiraRoleMapper() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canLogin(Principal user,
javax.servlet.http.HttpServletRequest httpServletRequest) |
boolean |
hasRole(Principal user,
javax.servlet.http.HttpServletRequest httpServletRequest,
String role) |
void |
init(Map map,
com.atlassian.seraph.config.SecurityConfig securityConfig) |
protected ApplicationUser |
toApplicationUser(Principal user) |
public boolean hasRole(@Nullable Principal user, javax.servlet.http.HttpServletRequest httpServletRequest, String role)
hasRole in interface com.atlassian.seraph.auth.RoleMapperpublic boolean canLogin(@Nullable Principal user, javax.servlet.http.HttpServletRequest httpServletRequest)
canLogin in interface com.atlassian.seraph.auth.RoleMapperprotected ApplicationUser toApplicationUser(Principal user)
public void init(Map map, com.atlassian.seraph.config.SecurityConfig securityConfig)
init in interface com.atlassian.seraph.InitableCopyright © 2002-2020 Atlassian. All Rights Reserved.