A default user, that allows to access the master API (and web console), is provided with the following credentials: “decisionbrain” / “optimserver”.
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()))
Example :
curl -H 'Authorization: Basic <login:password encoded in Base64>' http://MASTER_URL