Basic Authentication

Default user

A default user, that allows to access the master API (and web console), is provided with the following credentials: “decisionbrain” / “optimserver”.

Authenticate from code

A basic authentication works with a simple Authorization header that has the following value :

Basic: Base64(user:password)

You can for example use the following code to produce a valid Authorization header :

java.util.Base64.getEncoder().encodeToString("user:password".getBytes()))

Call the master with curl

Example :

curl -H 'Authorization: Basic <login:password encoded in Base64>' http://MASTER_URL