GUACAMOLE-394: Add history list at User object level (similar to Connection).

This commit is contained in:
Michael Jumper
2017-09-11 18:33:49 -07:00
parent 700005e823
commit b61f14e4db
5 changed files with 50 additions and 0 deletions

View File

@@ -19,9 +19,12 @@
package org.apache.guacamole.rest.user;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import org.apache.guacamole.GuacamoleException;
import org.apache.guacamole.GuacamoleUnsupportedException;
import org.apache.guacamole.net.auth.ActivityRecord;
import org.apache.guacamole.net.auth.User;
import org.apache.guacamole.net.auth.permission.ObjectPermissionSet;
import org.apache.guacamole.net.auth.permission.SystemPermissionSet;
@@ -112,4 +115,9 @@ public class APIUserWrapper implements User {
throw new GuacamoleUnsupportedException("APIUserWrapper does not provide permission access.");
}
@Override
public List<? extends ActivityRecord> getHistory() throws GuacamoleException {
return Collections.<ActivityRecord>emptyList();
}
}