Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ajout de la prise en charge du ssl pour l'authentification ldaps #97

Closed
wants to merge 1 commit into from

Conversation

laurentcommeau
Copy link

@laurentcommeau laurentcommeau commented Jun 15, 2021

Modification de la classe AuthLdap pour la prise en compte du protocole ldaps

  • Le positionnement de la propriete ldap.use.ssl avec la valeur true dans le fichier application.properties entraine l'ajout du protocole ssl dans les proprietes d'environment de la JndiLdapContextFactory utilise pour les requetes LDAP et permet ainsi d'etablir la connexion en ldaps.

  • Le positionnement de la propriete ldap.use.ssl est facultative.

  • Le positionnement de la propriete ldap.use.ssl avec la valeur true s'accompage de l'ajout des parametres ci-dessous dans la JVM au lancement de l'application :

-Djavax.net.ssl.keyStore="$JAVA_HOME/jre/lib/security/cacerts" 
-Djavax.net.ssl.keyStorePassword=changeit

@pbe-axelor
Copy link
Contributor

Integrated with 45f4785, released in 5.0.29.

@pbe-axelor pbe-axelor closed this Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants