Package | Description |
---|---|
org.glyptodon.guacamole.net.auth.permission |
Provides classes which describe the various permissions a Guacamole user
can be granted.
|
org.glyptodon.guacamole.net.auth.simple |
Provides a basic AuthenticationProvider base class that can be used to create
simple AuthenticationProviders in the same way allowed by the old
authentication API.
|
org.glyptodon.guacamole.net.basic.rest.activeconnection | |
org.glyptodon.guacamole.net.basic.rest.connectiongroup |
Classes related to the connection group manipulation aspect
of the Guacamole REST API.
|
org.glyptodon.guacamole.net.basic.rest.permission |
Classes related to the permission manipulation aspect of the Guacamole REST API.
|
org.glyptodon.guacamole.net.basic.rest.user |
Classes related to the user manipulation aspect of the Guacamole REST API.
|
Modifier and Type | Method and Description |
---|---|
ObjectPermission.Type |
ObjectPermission.getType() |
static ObjectPermission.Type |
ObjectPermission.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectPermission.Type[] |
ObjectPermission.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectPermissionSet.addPermission(ObjectPermission.Type permission,
String identifier)
Adds the specified permission for the object having the given
identifier.
|
boolean |
ObjectPermissionSet.hasPermission(ObjectPermission.Type permission,
String identifier)
Tests whether the permission of the given type is granted for the
object having the given identifier.
|
void |
ObjectPermissionSet.removePermission(ObjectPermission.Type permission,
String identifier)
Removes the specified permission for the object having the given
identifier.
|
Modifier and Type | Method and Description |
---|---|
Collection<String> |
ObjectPermissionSet.getAccessibleObjects(Collection<ObjectPermission.Type> permissions,
Collection<String> identifiers)
Tests whether this user has the specified permissions for the objects
having the given identifiers.
|
Constructor and Description |
---|
ObjectPermission(ObjectPermission.Type type,
String identifier)
Creates a new ObjectPermission having the given type and identifier.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleObjectPermissionSet.addPermission(ObjectPermission.Type permission,
String identifier) |
boolean |
SimpleObjectPermissionSet.hasPermission(ObjectPermission.Type permission,
String identifier) |
void |
SimpleObjectPermissionSet.removePermission(ObjectPermission.Type permission,
String identifier) |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
SimpleObjectPermissionSet.getAccessibleObjects(Collection<ObjectPermission.Type> permissionTypes,
Collection<String> identifiers) |
Modifier and Type | Method and Description |
---|---|
Map<String,APIActiveConnection> |
ActiveConnectionRESTService.getActiveConnections(String authToken,
String authProviderIdentifier,
List<ObjectPermission.Type> permissions)
Gets a list of active connections in the system, filtering the returned
list by the given permissions, if specified.
|
Modifier and Type | Method and Description |
---|---|
APIConnectionGroup |
ConnectionGroupRESTService.getConnectionGroupTree(String authToken,
String authProviderIdentifier,
String connectionGroupID,
List<ObjectPermission.Type> permissions)
Gets an individual connection group and all children.
|
Constructor and Description |
---|
ConnectionGroupTree(UserContext userContext,
ConnectionGroup root,
List<ObjectPermission.Type> permissions)
Creates a new connection group tree using the given connection group as
the tree root.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Set<ObjectPermission.Type>> |
APIPermissionSet.getActiveConnectionPermissions()
Returns a map of active connection IDs to the set of permissions granted
for that active connection.
|
Map<String,Set<ObjectPermission.Type>> |
APIPermissionSet.getConnectionGroupPermissions()
Returns a map of connection group IDs to the set of permissions granted
for that connection group.
|
Map<String,Set<ObjectPermission.Type>> |
APIPermissionSet.getConnectionPermissions()
Returns a map of connection IDs to the set of permissions granted for
that connection.
|
Map<String,Set<ObjectPermission.Type>> |
APIPermissionSet.getUserPermissions()
Returns a map of user IDs to the set of permissions granted for that
user.
|
Modifier and Type | Method and Description |
---|---|
void |
APIPermissionSet.setActiveConnectionPermissions(Map<String,Set<ObjectPermission.Type>> activeConnectionPermissions)
Replaces the current map of active connection permissions with the give
map, which must map active connection ID to its corresponding set of
granted permissions.
|
void |
APIPermissionSet.setConnectionGroupPermissions(Map<String,Set<ObjectPermission.Type>> connectionGroupPermissions)
Replaces the current map of connection group permissions with the given
map, which must map connection group ID to its corresponding set of
granted permissions.
|
void |
APIPermissionSet.setConnectionPermissions(Map<String,Set<ObjectPermission.Type>> connectionPermissions)
Replaces the current map of connection permissions with the given map,
which must map connection ID to its corresponding set of granted
permissions.
|
void |
APIPermissionSet.setUserPermissions(Map<String,Set<ObjectPermission.Type>> userPermissions)
Replaces the current map of user permissions with the given map, which
must map user ID to its corresponding set of granted permissions.
|
Modifier and Type | Method and Description |
---|---|
List<APIUser> |
UserRESTService.getUsers(String authToken,
String authProviderIdentifier,
List<ObjectPermission.Type> permissions)
Gets a list of users in the given data source (UserContext), filtering
the returned list by the given permission, if specified.
|
Copyright © 2015. All rights reserved.