Giter VIP home page Giter VIP logo

spring-ldap-queries's Introduction

spring-ldap-queries

This is an exploration/demo project on how to use LdapTemplate to craft LDAP Queries to retrieve information from the Active Directory (AD). You can read more about this project from the medium article below

Overview

This project populates the LDAP server (AD) with mock user data. The Spring Boot project provides sample codes on how to craft LDAP queries with LdapTemplate.

Usage

  1. Start OpenLdap Server

    docker-compose -f ./openldap/docker-compose.yml up -d

    This will create the ldap server (localhost:389) as well as a web interface (localhost:3800) for interacting with the ldap server. The login credential is user = cn=admin,dc=example,dc=org, pass = admin.

  2. Start the Spring Boot application

    ./gradlew bootrun

    Trigger the ldap search using the endpoint (localhost:8080/api/query/) where = U0 / U1 / U2

spring-ldap-queries's People

Contributors

bkjam avatar

Stargazers

Anıl avatar Ruli avatar

Forkers

lungssta

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.