edu.internet2.middleware.grouper.app.gsh
Class grantPriv

java.lang.Object
  extended by edu.internet2.middleware.grouper.app.gsh.grantPriv

public class grantPriv
extends Object

Grant a privilege.

Since:
0.0.1
Version:
$Id: grantPriv.java,v 1.4 2009-11-02 03:50:51 mchyzer Exp $
Author:
blair christensen.

Constructor Summary
grantPriv()
           
 
Method Summary
static boolean invoke(bsh.Interpreter i, bsh.CallStack stack, String name, String subjId, Privilege priv)
          /** Grant a privilege.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

grantPriv

public grantPriv()
Method Detail

invoke

public static boolean invoke(bsh.Interpreter i,
                             bsh.CallStack stack,
                             String name,
                             String subjId,
                             Privilege priv)
                      throws GrouperShellException
/** Grant a privilege.

Parameters:
i - BeanShell interpreter.
stack - BeanShell call stack.
name - Grant privilege on this Group or Stem.
subjId - Grant privilege to this Subject.
priv - Grant this Privilege.
Returns:
True if succeeds.
Throws:
GrouperShellException
Since:
0.0.1