Configuration / RESTful-API Authentication - Storm Streaming Server

Through the Rest API it is possible to control almost every aspect of the Storm Streaming Server. Before, however it is possible to access the API, it must be configured properly via the preferences.xml file:

<REST enabled="true">
        <Auth username="admin" password="admin" />

There are two levels of authorization for REST-API. The first is IPWhiteList, which can contain multiple IP addresses separated by a comma (space is optional).

The second one is the user list for basic auth. Each entry contains a username and a password.

You can leave either IPWhiteList or Authorization empty if you wish. If both lists are empty, no authorization is required at all (we do not advise doing this).