Package | Description |
---|---|
org.glyptodon.guacamole.net.basic.rest.activeconnection | |
org.glyptodon.guacamole.net.basic.rest.auth |
Classes related to the authentication aspect of the Guacamole REST API.
|
org.glyptodon.guacamole.net.basic.rest.connection |
Classes related to the connection manipulation aspect of the Guacamole REST API.
|
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.schema |
Classes related to the self-description of the Guacamole REST API, such as
the attributes or parameters applicable to specific objects.
|
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 |
---|---|
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.
|
void |
ActiveConnectionRESTService.patchTunnels(String authToken,
String authProviderIdentifier,
List<APIPatch<String>> patches)
Applies the given active connection patches.
|
Modifier and Type | Method and Description |
---|---|
APIAuthenticationResult |
TokenRESTService.createToken(String username,
String password,
String token,
javax.servlet.http.HttpServletRequest consumedRequest,
javax.ws.rs.core.MultivaluedMap<String,String> parameters)
Authenticates a user, generates an auth token, associates that auth token
with the user's UserContext for use by further requests.
|
void |
TokenRESTService.invalidateToken(String authToken)
Invalidates a specific auth token, effectively logging out the associated
user.
|
Modifier and Type | Method and Description |
---|---|
String |
ConnectionRESTService.createConnection(String authToken,
String authProviderIdentifier,
APIConnection connection)
Creates a new connection and returns the identifier of the new
connection.
|
void |
ConnectionRESTService.deleteConnection(String authToken,
String authProviderIdentifier,
String connectionID)
Deletes an individual connection.
|
APIConnection |
ConnectionRESTService.getConnection(String authToken,
String authProviderIdentifier,
String connectionID)
Retrieves an individual connection.
|
List<APIConnectionRecord> |
ConnectionRESTService.getConnectionHistory(String authToken,
String authProviderIdentifier,
String connectionID)
Retrieves the usage history of a single connection.
|
Map<String,String> |
ConnectionRESTService.getConnectionParameters(String authToken,
String authProviderIdentifier,
String connectionID)
Retrieves the parameters associated with a single connection.
|
void |
ConnectionRESTService.updateConnection(String authToken,
String authProviderIdentifier,
String connectionID,
APIConnection connection)
Updates an existing connection.
|
Modifier and Type | Method and Description |
---|---|
String |
ConnectionGroupRESTService.createConnectionGroup(String authToken,
String authProviderIdentifier,
APIConnectionGroup connectionGroup)
Creates a new connection group and returns the identifier of the new connection group.
|
void |
ConnectionGroupRESTService.deleteConnectionGroup(String authToken,
String authProviderIdentifier,
String connectionGroupID)
Deletes an individual connection group.
|
APIConnectionGroup |
ConnectionGroupRESTService.getConnectionGroup(String authToken,
String authProviderIdentifier,
String connectionGroupID)
Gets an individual connection group.
|
APIConnectionGroup |
ConnectionGroupRESTService.getConnectionGroupTree(String authToken,
String authProviderIdentifier,
String connectionGroupID,
List<ObjectPermission.Type> permissions)
Gets an individual connection group and all children.
|
void |
ConnectionGroupRESTService.updateConnectionGroup(String authToken,
String authProviderIdentifier,
String connectionGroupID,
APIConnectionGroup connectionGroup)
Updates a connection group.
|
Modifier and Type | Method and Description |
---|---|
Collection<Form> |
SchemaRESTService.getConnectionAttributes(String authToken,
String authProviderIdentifier)
Retrieves the possible attributes of a connection object.
|
Collection<Form> |
SchemaRESTService.getConnectionGroupAttributes(String authToken,
String authProviderIdentifier)
Retrieves the possible attributes of a connection group object.
|
Map<String,ProtocolInfo> |
SchemaRESTService.getProtocols(String authToken,
String authProviderIdentifier)
Gets a map of protocols defined in the system - protocol name to protocol.
|
Collection<Form> |
SchemaRESTService.getUserAttributes(String authToken,
String authProviderIdentifier)
Retrieves the possible attributes of a user object.
|
Modifier and Type | Method and Description |
---|---|
String |
UserRESTService.createUser(String authToken,
String authProviderIdentifier,
APIUser user)
Creates a new user and returns the username.
|
void |
UserRESTService.deleteUser(String authToken,
String authProviderIdentifier,
String username)
Deletes an individual existing user.
|
APIPermissionSet |
UserRESTService.getPermissions(String authToken,
String authProviderIdentifier,
String username)
Gets a list of permissions for the user with the given username.
|
APIUser |
UserRESTService.getUser(String authToken,
String authProviderIdentifier,
String username)
Retrieves an individual user.
|
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.
|
void |
UserRESTService.patchPermissions(String authToken,
String authProviderIdentifier,
String username,
List<APIPatch<String>> patches)
Applies a given list of permission patches.
|
void |
UserRESTService.updatePassword(String authToken,
String authProviderIdentifier,
String username,
APIUserPasswordUpdate userPasswordUpdate,
javax.servlet.http.HttpServletRequest request)
Updates the password for an individual existing user.
|
void |
UserRESTService.updateUser(String authToken,
String authProviderIdentifier,
String username,
APIUser user)
Updates an individual existing user.
|
Copyright © 2015. All rights reserved.