public class ShellPolicy extends Permissions
Modifier and Type | Field and Description |
---|---|
static int |
EXEC |
static int |
SHELL |
static int |
SUBSYSTEM |
permissions
Constructor and Description |
---|
ShellPolicy() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
assertPermission(Connection con,
int perm,
String... args) |
boolean |
checkPermission(Connection con,
int perm,
String... args) |
add, check, remove
public static final int SHELL
public static final int EXEC
public static final int SUBSYSTEM
protected boolean assertPermission(Connection con, int perm, String... args)
public final boolean checkPermission(Connection con, int perm, String... args)
Copyright © 2024. All rights reserved.