Move LdapUserSearch into main provider package and separate out its current implementation as it may be used for more than authentication.

This commit is contained in:
Luke Taylor 2005-12-20 23:58:35 +00:00
parent b01bf0b878
commit 911be66513
5 changed files with 6 additions and 3 deletions

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
package org.acegisecurity.providers.ldap.authenticator;
package org.acegisecurity.providers.ldap;
import org.acegisecurity.providers.ldap.LdapUserInfo;

View File

@ -17,6 +17,7 @@ package org.acegisecurity.providers.ldap.authenticator;
import org.acegisecurity.providers.ldap.LdapAuthenticator;
import org.acegisecurity.providers.ldap.InitialDirContextFactory;
import org.acegisecurity.providers.ldap.LdapUserSearch;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.util.Assert;

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
package org.acegisecurity.providers.ldap.authenticator;
package org.acegisecurity.providers.ldap.search;
import org.acegisecurity.providers.ldap.*;
import org.acegisecurity.userdetails.UsernameNotFoundException;

View File

@ -1,6 +1,7 @@
package org.acegisecurity.providers.ldap.authenticator;
import org.acegisecurity.providers.ldap.LdapUserInfo;
import org.acegisecurity.providers.ldap.LdapUserSearch;
/**
* @author Luke Taylor

View File

@ -1,8 +1,9 @@
package org.acegisecurity.providers.ldap.authenticator;
package org.acegisecurity.providers.ldap.search;
import org.acegisecurity.providers.ldap.AbstractLdapServerTestCase;
import org.acegisecurity.providers.ldap.DefaultInitialDirContextFactory;
import org.acegisecurity.providers.ldap.LdapUserInfo;
import org.acegisecurity.providers.ldap.search.FilterBasedLdapUserSearch;
import org.acegisecurity.userdetails.UsernameNotFoundException;
import org.acegisecurity.BadCredentialsException;