Class RemovePermission
- java.lang.Object
-
- org.appng.cli.commands.permission.RemovePermission
-
- All Implemented Interfaces:
ExecutableCliCommand
public class RemovePermission extends Object implements ExecutableCliCommand
Removes one ore more permissions from a role.
Usage: appng remove-permission [options] Options: * -n The permission(s) to remove, multiple values can be provided (separated by space). * -a The application name. * -r The role name.
- Author:
- Matthias Müller
-
-
Constructor Summary
Constructors Modifier Constructor Description RemovePermission()
protected
RemovePermission(String applicationName, String roleName, List<String> permissionNames)
-
-
-
Method Detail
-
execute
public void execute(CliEnvironment cle) throws BusinessException
Description copied from interface:ExecutableCliCommand
Executes the command.- Specified by:
execute
in interfaceExecutableCliCommand
- Parameters:
cle
- theCliEnvironment
to use- Throws:
BusinessException
- if on error occurs while executing the command
-
-