public class SchemaRESTService extends Object
Constructor and Description |
---|
SchemaRESTService() |
Modifier and Type | Method and Description |
---|---|
Collection<Form> |
getConnectionAttributes(String authToken,
String authProviderIdentifier)
Retrieves the possible attributes of a connection object.
|
Collection<Form> |
getConnectionGroupAttributes(String authToken,
String authProviderIdentifier)
Retrieves the possible attributes of a connection group object.
|
Map<String,ProtocolInfo> |
getProtocols(String authToken,
String authProviderIdentifier)
Gets a map of protocols defined in the system - protocol name to protocol.
|
Collection<Form> |
getUserAttributes(String authToken,
String authProviderIdentifier)
Retrieves the possible attributes of a user object.
|
public Collection<Form> getUserAttributes(String authToken, String authProviderIdentifier) throws GuacamoleException
authToken
- The authentication token that is used to authenticate the user
performing the operation.authProviderIdentifier
- The unique identifier of the AuthenticationProvider associated with
the UserContext dictating the available user attributes.GuacamoleException
- If an error occurs while retrieving the possible attributes.public Collection<Form> getConnectionAttributes(String authToken, String authProviderIdentifier) throws GuacamoleException
authToken
- The authentication token that is used to authenticate the user
performing the operation.authProviderIdentifier
- The unique identifier of the AuthenticationProvider associated with
the UserContext dictating the available connection attributes.GuacamoleException
- If an error occurs while retrieving the possible attributes.public Collection<Form> getConnectionGroupAttributes(String authToken, String authProviderIdentifier) throws GuacamoleException
authToken
- The authentication token that is used to authenticate the user
performing the operation.authProviderIdentifier
- The unique identifier of the AuthenticationProvider associated with
the UserContext dictating the available connection group
attributes.GuacamoleException
- If an error occurs while retrieving the possible attributes.public Map<String,ProtocolInfo> getProtocols(String authToken, String authProviderIdentifier) throws GuacamoleException
authToken
- The authentication token that is used to authenticate the user
performing the operation.authProviderIdentifier
- The unique identifier of the AuthenticationProvider associated with
the UserContext dictating the protocols available. Currently, the
UserContext actually does not dictate this, the the same set of
protocols will be retrieved for all users, though the identifier
given here will be validated.GuacamoleException
- If an error occurs while retrieving the available protocols.Copyright © 2015. All rights reserved.