SOAP configuration backend

This documentation is available only for version 0.9.4 and later. For earlier versions, see the documentation in the source tree.

Presentation

SOAP will allow distant Handlers or remote Portals to have a read access to configuration.

To work, the main Portal and the Manager will not use SOAP but the real configuration database (for example files, MySQL or LDAP). Remote components will send SOAP request to main portal to obtain the configuration.

Configuration

Main Portal and Manager

Configuration backend of main Portal and Manager is written is /etc/lemonldap-ng/storage.conf. See other configuration backend documentation for more information.

To activate SOAP in main Portal, just set:
Soap => 1,


You have also to update Apache configuration to allow SOAP requests. Add this in the main Portal virtual host:
<Location /index.pl/config>
    Order deny,allow
    Deny from all
    Allow from *remote servers*
</Location>

Remote components

For remote components (so on a different server thant the main Portal and Manager), just edit the /etc/lemonldap-ng/storage.conf:
type = SOAP
proxy = http://auth.example.com/index.pl/config

It will send SOAP request to proxy URL.