edu.internet2.middleware.grouper.app.gsh
Class hasPriv
java.lang.Object
edu.internet2.middleware.grouper.app.gsh.hasPriv
public class hasPriv
- extends Object
Check if subject has privilege.
- Since:
- 0.0.1
- Version:
- $Id: hasPriv.java,v 1.4 2009-11-02 03:50:51 mchyzer Exp $
- Author:
- blair christensen.
Method Summary |
static boolean |
invoke(bsh.Interpreter i,
bsh.CallStack stack,
String name,
String subjId,
Privilege priv)
Check if subject has privilege. |
hasPriv
public hasPriv()
invoke
public static boolean invoke(bsh.Interpreter i,
bsh.CallStack stack,
String name,
String subjId,
Privilege priv)
throws GrouperShellException
- Check if subject has privilege.
- Parameters:
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
.
- Returns:
- True if succeeds.
- Throws:
GrouperShellException
- Since:
- 0.0.1