Authentication configuration is made using the Spring Security API in a dedicated SecurityContext class placed in the config package. Connexion to the identity provider (an Open LDAP directory) is made in this class using parameters retrieved from a property file depending on which environnement we are running on..