This repository contains a Spring Boot application that demonstrates LDAP (Lightweight Directory Access Protocol) authentication using an in-memory LDAP server. The application allows users to log in with a username and password and displays a welcome message if the authentication is successful.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Java 8 or higher Maven An IDE (such as IntelliJ IDEA)
Clone the repository to your local machine: git clone https://github.com/abdullahbakis/spring-boot-LDAP-authentication-app.git
Import the project into your IDE as a Maven project.
Run the project as a Spring Boot application.
Open a web browser and navigate to http://localhost:8080 to access the application.
Use the following credentials to log in:
username: user password: password
Spring Boot - The web framework used Maven - Dependency Management Spring Security LDAP - Used for LDAP authentication Spring Boot DevTools - Used for automatic reloading of the application during development Thymeleaf - Used for rendering HTML templates on the server side
Abdullah Bakış - abdullahbakis
This project is licensed under the MIT License - see the LICENSE file for details.
This project was developed as a learning exercise and is based on the Spring Security LDAP guide from the Spring documentation. The in-memory LDAP server used in this project is ApacheDS and is included as a Maven dependency.