@Override
    public boolean hasPermission(SystemPermission.Type permission)
            throws GuacamoleException {

        SystemPermission systemPermission = new SystemPermission(permission);
        return permissions.contains(systemPermission);

    }
Sets the Set which backs this SimpleSystemPermissionSet. Future function
calls on this SimpleSystemPermissionSet will use the provided Set.

@param permissions 
    The Set of permissions this SimpleSystemPermissionSet should
    contain.
guacamole-ext/src/main/java/org/apache/guacamole/net/auth/simple/SimpleSystemPermissionSet.java