@Override
    protected ObjectPermissionSet getObjectPermissions(Permissions permissions)
            throws GuacamoleException {
        return permissions.getActiveConnectionPermissions();
    }
Creates a new ActiveConnectionDirectoryResource which exposes the
operations and subresources available for the given ActiveConnection
Directory.

@param authenticatedUser
    The user that is accessing this resource.

@param userContext
    The UserContext associated with the given Directory.

@param directory
    The Directory being exposed.

@param translator
    A DirectoryObjectTranslator implementation which handles
    ActiveConnections.

@param resourceFactory
    A factory which can be used to create instances of resources
    representing ActiveConnections.
guacamole/src/main/java/org/apache/guacamole/rest/activeconnection/ActiveConnectionDirectoryResource.java