RoleCache

public class RoleCache

Cache of all the permissions identifiers of the application

Fields

_cache

static Map<String, Integer> _cache

log

static final Logger log

Methods

get

public static Integer get(String permission)

Get the permission identifier with it’s name

Parameters:
  • permission – Fully qualified permission name
Returns:

Integer identifier for the permission