public class GrouperActivemqPermissionsEngine extends Object implements org.quartz.Job, org.quartz.StatefulJob
Constructor and Description |
---|
GrouperActivemqPermissionsEngine(Map<String,Set<GrouperActivemqPermission>> cachedGrouperActivemqPermissions1) |
Modifier and Type | Method and Description |
---|---|
void |
execute(org.quartz.JobExecutionContext context)
this will be run when the quertz nightly job fires
|
static boolean |
hasAnyPermission(String user)
if the user has any permission
|
static boolean |
hasPermission(String user,
GrouperActivemqPermissionAction action,
String destination)
all permissions for activemq.
|
static void |
main(String[] args) |
static void |
startupOnce() |
public GrouperActivemqPermissionsEngine(Map<String,Set<GrouperActivemqPermission>> cachedGrouperActivemqPermissions1)
cachedGrouperActivemqPermissions1
- public static boolean hasAnyPermission(String user)
user
- is the user to checkpublic static boolean hasPermission(String user, GrouperActivemqPermissionAction action, String destination)
user
- loginid to activemqaction
- action to check (note, if you just have sendMessage,
it will check the inherit destinations toodestination
- to checkpublic static void main(String[] args)
args
- public static void startupOnce()
public void execute(org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
execute
in interface org.quartz.Job
org.quartz.JobExecutionException
Job.execute(org.quartz.JobExecutionContext)
Copyright © 2016 Internet2. All rights reserved.