GUACAMOLE-5: Add sharing profile attributes to schema resource.
This commit is contained in:
1 parent
989ad39513
commit
7a0dd884f3
2 files changed
+54
No files matched your search
@@ -99,6 +99,26 @@ public class SchemaResource {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the possible attributes of a sharing profile object.
|
||||
*
|
||||
* @return
|
||||
* A collection of forms which describe the possible attributes of a
|
||||
* sharing profile object.
|
||||
*
|
||||
* @throws GuacamoleException
|
||||
* If an error occurs while retrieving the possible attributes.
|
||||
*/
|
||||
@GET
|
||||
@Path("sharingProfileAttributes")
|
||||
public Collection<Form> getSharingProfileAttributes()
|
||||
throws GuacamoleException {
|
||||
|
||||
// Retrieve all possible sharing profile attributes
|
||||
return userContext.getSharingProfileAttributes();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the possible attributes of a connection group object.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user