...
The UDMG Server REST API is implemented by a customized version of the waarp-gatewayd
server (UDMG-Client).
Authentication
Only Local User Account authentication is supported for the REST API.
SSO and LDAP authentication is only used for the Graphical User Interface.
Authentication of REST requests is done using basic HTTP authentication .
This authentication scheme is done using the HTTP Authorization header . To authenticate, the client must:
Obtain user login and password
Build the user ID by concatenating the login, a colon (“:”) character and the password
Encode the obtained identifier in Base64
Prefix the encoded identifier with a declaration of the basic authentication scheme (“Basic”)
For example, if the user enters the name "Aladdin" and the password "open sesame", then the client must send the following header:
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
If the authentication of a request fails, the server will respond with an HTTP code .401 - Unauthorized
By default, the UDMG Server has only one "admin" user (password: "admin_password") with all rights, in order to allow the initial configuration of the gateway to be set up. For security reasons, it is strongly recommended when installing the gateway to create new users with more restricted rights, then to delete this "admin" user.
Common Operations
Refer to the original version of the waarp-gatewayd v0.7.1 server documentation for the common operations:
...