|
@@ -2,23 +2,14 @@ package net.sf.acegisecurity.providers.dao.ldap;
|
|
|
|
|
|
import java.text.MessageFormat;
|
|
|
import java.util.ArrayList;
|
|
|
-import java.util.Collection;
|
|
|
|
|
|
import javax.naming.AuthenticationException;
|
|
|
-import javax.naming.Name;
|
|
|
import javax.naming.NamingEnumeration;
|
|
|
import javax.naming.NamingException;
|
|
|
import javax.naming.directory.Attribute;
|
|
|
import javax.naming.directory.Attributes;
|
|
|
import javax.naming.directory.DirContext;
|
|
|
import javax.naming.directory.InitialDirContext;
|
|
|
-import javax.naming.directory.SearchResult;
|
|
|
-
|
|
|
-import org.apache.commons.logging.Log;
|
|
|
-import org.apache.commons.logging.LogFactory;
|
|
|
-import org.springframework.beans.factory.InitializingBean;
|
|
|
-import org.springframework.dao.DataAccessException;
|
|
|
-import org.springframework.dao.DataAccessResourceFailureException;
|
|
|
|
|
|
import net.sf.acegisecurity.BadCredentialsException;
|
|
|
import net.sf.acegisecurity.GrantedAuthority;
|
|
@@ -26,6 +17,11 @@ import net.sf.acegisecurity.GrantedAuthorityImpl;
|
|
|
import net.sf.acegisecurity.UserDetails;
|
|
|
import net.sf.acegisecurity.providers.dao.User;
|
|
|
|
|
|
+import org.apache.commons.logging.Log;
|
|
|
+import org.apache.commons.logging.LogFactory;
|
|
|
+import org.springframework.dao.DataAccessException;
|
|
|
+import org.springframework.dao.DataAccessResourceFailureException;
|
|
|
+
|
|
|
/**
|
|
|
* A much simplified (vs the 1.6 revision) LdapPasswordAuthenticationDao,
|
|
|
* which should meet all 'basic' needs, leaving advanced options such as
|