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

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

public class revokePriv
extends Object

Revoke a privilege.

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

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

Constructor Detail

revokePriv

public revokePriv()
Method Detail

invoke

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

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