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.RoleMapper
public boolean canLogin(@Nullable Principal user, javax.servlet.http.HttpServletRequest httpServletRequest)
canLogin
in interface com.atlassian.seraph.auth.RoleMapper
protected ApplicationUser toApplicationUser(Principal user)
public void init(Map map, com.atlassian.seraph.config.SecurityConfig securityConfig)
init
in interface com.atlassian.seraph.Initable
Copyright © 2002-2016 Atlassian. All Rights Reserved.