Prevent unauthorized console take over.
This commit is contained in:
parent
3ca632c8da
commit
1b5ad5b73e
5 changed files with 21 additions and 4 deletions
|
|
@ -65,7 +65,7 @@ public class VmDefinition {
|
|||
*/
|
||||
public enum Permission {
|
||||
START("start"), STOP("stop"), RESET("reset"),
|
||||
ACCESS_CONSOLE("accessConsole");
|
||||
ACCESS_CONSOLE("accessConsole"), TAKE_CONSOLE("takeConsole");
|
||||
|
||||
@SuppressWarnings("PMD.UseConcurrentHashMap")
|
||||
private static Map<String, Permission> reprs = new HashMap<>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue