-
Notifications
You must be signed in to change notification settings - Fork 0
jpfelgueiras/spring-boot-ldap
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Run the docker containers $cd docker $docker-compose up enter on phpldapadmin with user= cn=admin,dc=daf,dc=test,dc=it password= admin import the following lines dn: ou=people,dc=jpf,dc=pt objectclass: top objectclass: organizationalUnit ou: people dn: uid=u1,ou=people,dc=jpf,dc=pt objectclass: top objectclass: person objectclass: organizationalPerson objectclass: inetOrgPerson cn: u1 sn: u1 uid: u1 userPassword: {MD5}X03MO1qnZdYdgyfeuILPmQ== Run the application ./mvnw spring-boot:run Browse to localhost:8080 and login with user = u1 password = password If a new passwor dis needed for the impor run the following command docker exec ldap slappasswd -h "{MD5}" -s NEW_PASSWORD To create a docker container for this application ./mvnw package docker build -t jpf/spring-boot-ldap . docker run -p 8080:8080 --name spring_boot_ldap -t jpf/spring-boot-ldap docker network connect docker_ldap spring_boot_ldap Documents used https://github.com/italia/daf-recipes/blob/master/ldap/docker-compose.yml https://spring.io/guides/gs/authenticating-ldap/ https://www.opencodez.com/java/configure-ldap-authentication-using-spring-boot.htm https://spring.io/guides/gs/spring-boot-docker/
About
No description or website provided.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published