Java: Sample Active Directory authentication code

Here is a sample Java code to authenticate against Windows Active Directory server. The code finds all available active directory servers in your network. It uses one of the available active directory server for authentication. If an active directory server is down then it starts using next available server if any. This class is thread-safe, … Continue reading Java: Sample Active Directory authentication code