org.jaaslounge.ldap.KeepAliveLdapConnection Maven / Gradle / Ivy
package org.jaaslounge.ldap;
import java.security.PrivilegedActionException;
import java.security.PrivilegedExceptionAction;
import java.util.Hashtable;
import java.util.Map;
import javax.naming.Context;
import javax.naming.NamingEnumeration;
import javax.naming.NamingException;
import javax.naming.directory.DirContext;
import javax.naming.directory.InitialDirContext;
import javax.naming.directory.SearchControls;
import javax.naming.directory.SearchResult;
import javax.security.auth.Subject;
import javax.security.auth.login.LoginContext;
import javax.security.auth.login.LoginException;
public class KeepAliveLdapConnection {
public static final int DEFAULT_TIMEOUT = 600000;
private static Map instances = new Hashtable();
private Hashtable
© 2015 - 2025 Weber Informatics LLC | Privacy Policy