public class

JiraRoleMapper

extends Object
implements RoleMapper
java.lang.Object
   ↳ com.atlassian.jira.security.JiraRoleMapper

Class Overview

A Seraph RoleMapper which maps from group membership to JIRA permissions via a permission scheme. Eg, the permission scheme typically allocates members of the "jira-users" group the USE role.

Summary

Public Constructors
JiraRoleMapper()
Public Methods
boolean canLogin(Principal user, HttpServletRequest httpServletRequest)
boolean hasRole(Principal user, HttpServletRequest httpServletRequest, String role)
void init(Map map, SecurityConfig securityConfig)
Protected Methods
ApplicationUser toApplicationUser(Principal user)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.seraph.Initable
From interface com.atlassian.seraph.auth.RoleMapper

Public Constructors

public JiraRoleMapper ()

Public Methods

public boolean canLogin (Principal user, HttpServletRequest httpServletRequest)

public boolean hasRole (Principal user, HttpServletRequest httpServletRequest, String role)

public void init (Map map, SecurityConfig securityConfig)

Protected Methods

protected ApplicationUser toApplicationUser (Principal user)