In some cases, it is necessary to allow an external application to control which user it accesses as. For this purpose, server-auth.xml can be used.
Create the file /etc/flexibee/server-auth.xml:
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"><properties> <comment>WinStrom server configuration</comment> <entry key="username">server-admin</entry> <entry key="password">heslo</entry></properties>
The HTTP header X-FlexiBee-Authorization can then be used to specify which user the session should be authenticated as.
This feature will be replaced in the future by authorization using an SSL client certificate.
Importing an SSL certificate via the API is now possible without user login by using the so-called server authentication
