Giter VIP home page Giter VIP logo

adsync4j-demo's Introduction

adsync4j-demo

Demo project that uses the ADSync4J library.

What does it do?

The application retrieves all normal user objects from Active Directory, and keeps them in sync by performing incremental synchronization with AD on subsequent executions. The replicated objects are stored in a H2 database in $USER_HOME/adsync4j.h2.db.

How to start playing with it?

Clone and build the project
git clone https://github.com/zagyi/adsync4j-demo.git
cd adsync4j-demo
./gradlew build
Create a .properties file defining the necessary details

You need to give some details about how to connect to Active Directory, and what exactly you want to replicate. This template will help you to quickly create such a file.

Run the initial full synchronization

The build process created a shell script that you can use to start the application:

./adsync4j-demo.sh <path_to_your_properties_file>

The H2 database is automatically created on the first synchronization. Once that is successfully done, you can throw away the .properties file, because all the information it holds gets persisted in the same database.

Keep the replica up-to-date with incremental synchronization

Simply execute the application again and again (without specifying the .properties file) to apply any changes to the replica that has been done in Active Directory since the last synchronization.

adsync4j-demo's People

Contributors

zagyi avatar

Watchers

 avatar  avatar

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.