code: @GET
      @Path("parameters")
      public Map<String, String> getParameters()
              throws GuacamoleException {
  
          // Pull effective permissions
          Permissions effective = userContext.self().getEffectivePermissions();
  
          // Retrieve permission sets
          SystemPermissionSet systemPermissions = effective.getSystemPermissions();
          ObjectPermissionSet sharingProfilePermissions = effective.getSharingProfilePermissions();
  
          // Deny access if adminstrative or update permission is missing
          String identifier = sharingProfile.getIdentifier();
          if (!systemPermissions.hasPermission(SystemPermission.Type.ADMINISTER)
           && !sharingProfilePermissions.hasPermission(ObjectPermission.Type.UPDATE, identifier))
              throw new GuacamoleSecurityException("Permission to read sharing profile parameters denied.");
  
          // Return parameter map
          return sharingProfile.getParameters();
  
      }
docs: Retrieves the connection parameters associated with the SharingProfile
  exposed by this SharingProfile resource.
  
  @return
  A map of parameter name/value pairs.
  
  @throws GuacamoleException
  If an error occurs while retrieving the connection parameters of the
  SharingProfile.