Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_NAME |
static String |
EVENT_ENTITY_ACCESS |
static String |
EVENT_SERVICE_ACCESS |
Modifier and Type | Method and Description |
---|---|
boolean |
hasEntityAccess(String entityName,
String event)
Checks if the current user is allowed to access the given service.
|
boolean |
hasServiceAccess(String serviceName,
String event)
Checks if the current user is allowed to access the given service.
|
static final String DEFAULT_NAME
static final String EVENT_SERVICE_ACCESS
static final String EVENT_ENTITY_ACCESS
boolean hasServiceAccess(String serviceName, String event)
serviceName
- The (fully-qualified) name of the serviceevent
- The eventtrue
in case of permission, false
otherwiseboolean hasEntityAccess(String entityName, String event)
entityName
- The (fully-qualified) name of the entityevent
- The eventtrue
in case of permission, false
otherwiseCopyright © 2019. All rights reserved.