mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-220: Clarify usage of SimpleUser and SimpleUserGroup.
This commit is contained in:
@@ -36,7 +36,9 @@ import org.apache.guacamole.net.auth.permission.ObjectPermissionSet;
|
|||||||
import org.apache.guacamole.net.auth.permission.SystemPermissionSet;
|
import org.apache.guacamole.net.auth.permission.SystemPermissionSet;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An extremely basic User implementation.
|
* A read-only User implementation which has no permissions. Implementations
|
||||||
|
* that need to define permissions should extend this class and override the
|
||||||
|
* associated getters.
|
||||||
*/
|
*/
|
||||||
public class SimpleUser extends AbstractUser {
|
public class SimpleUser extends AbstractUser {
|
||||||
|
|
||||||
@@ -62,7 +64,7 @@ public class SimpleUser extends AbstractUser {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new SimpleUser having the given username and no permissions.
|
* Creates a new SimpleUser having the given username.
|
||||||
*
|
*
|
||||||
* @param username
|
* @param username
|
||||||
* The username to assign to this SimpleUser.
|
* The username to assign to this SimpleUser.
|
||||||
|
@@ -29,7 +29,9 @@ import org.apache.guacamole.net.auth.permission.ObjectPermissionSet;
|
|||||||
import org.apache.guacamole.net.auth.permission.SystemPermissionSet;
|
import org.apache.guacamole.net.auth.permission.SystemPermissionSet;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A read-only UserGroup implementation which has no members.
|
* A read-only UserGroup implementation which has no members and no
|
||||||
|
* permissions. Implementations that need to define members or permissions
|
||||||
|
* should extend this class and override the associated getters.
|
||||||
*/
|
*/
|
||||||
public class SimpleUserGroup extends AbstractIdentifiable implements UserGroup {
|
public class SimpleUserGroup extends AbstractIdentifiable implements UserGroup {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user