Class grantPriv
java.lang.Object
edu.internet2.middleware.grouper.app.gsh.grantPriv
Grant a privilege.
- Since:
- 0.0.1
- Version:
- $Id: grantPriv.java,v 1.4 2009-11-02 03:50:51 mchyzer Exp $
-
Constructor Summary
-
Method Summary
-
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 thisGroup
orStem
.subjId
- Grant privilege to thisSubject
.priv
- Grant thisPrivilege
.- 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.
-