public class hasPriv extends Object
Constructor and Description |
---|
hasPriv() |
Modifier and Type | Method and Description |
---|---|
static boolean |
invoke(GrouperSession grouperSession,
String name,
String subjId,
Privilege priv)
Check if subject has privilege.
|
static boolean |
invoke(bsh.Interpreter i,
bsh.CallStack stack,
String name,
String subjId,
Privilege priv)
Check if subject has privilege.
|
public static boolean invoke(bsh.Interpreter i, bsh.CallStack stack, String name, String subjId, Privilege priv) throws GrouperShellException
i
- BeanShell interpreter.stack
- BeanShell call stack.name
- Check for privilege on this Group
or Stem
.subjId
- Check if this Subject
has privilege.priv
- Check this AccessPrivilege
.GrouperShellException
public static boolean invoke(GrouperSession grouperSession, String name, String subjId, Privilege priv)
grouperSession
- name
- Check for privilege on this Group
or Stem
.subjId
- Check if this Subject
has privilege.priv
- Check this AccessPrivilege
.Copyright © 2016 Internet2. All rights reserved.