Services SOAP

Lemonldap::NG portal provide a SOAP server that can be enable to give configuration and/or session. These features can be enabled using the manager.

Services SOAP du portail

SOAP functions are not accessible by network by default. SOAP functions are protected by Apache, you can change this in Apache portal configuration:

    # Gestion des fonctions SOAP functions pour la gestion des sessions (désactivée par défaut)
    <Location /index.pl/adminSessions>
        Order deny,allow
        Allow from all
    </Location>
 
    # Fonctions SOAP pour l'accès aux sessions (désactivées par défaut)
    <Location /index.pl/sessions>
        Order deny,allow
        Allow from all
    </Location>
 
    # Fonctions SOAP pour accéder à la configuration (désactivées par défaut)
    <Location /index.pl/config>
        Order deny,allow
        Allow from all
    </Location>
 
    # Fonctions SOAP pour insérer des notifications (désactivées par défaut)
    <Location /index.pl/notification>
        Order deny,allow
        Allow from all
    </Location>
You can create a SOAP only portal by setting “soapOnly = 1” in lemonldap-ng.ini (section PORTAL)
Lorsqu'on utilise le backend de session SOAP, il est recommandé d'utiliser l'URL en lecture seule (http://portal/index.pl/sessions). Le chemin d'écriture de session n'est nécessaire que si on utilise un explorateur de session ou un portail distant