Class grantPriv

java.lang.Object
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 $
  • Constructor Details

    • grantPriv

      public grantPriv()
  • Method Details

    • 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
    • invoke

      public static boolean invoke(GrouperSession grouperSession, String name, String subjId, Privilege priv)
      Grant a privilege.

      Parameters:
      grouperSession -
      name - Grant privilege on this Group or Stem.
      subjId - Grant privilege to this Subject.
      priv - Grant this Privilege.
      Returns:
      True if succeeds.