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:
parent
b01bf0b878
commit
911be66513
|
@ -13,7 +13,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.acegisecurity.providers.ldap.authenticator;
|
package org.acegisecurity.providers.ldap;
|
||||||
|
|
||||||
import org.acegisecurity.providers.ldap.LdapUserInfo;
|
import org.acegisecurity.providers.ldap.LdapUserInfo;
|
||||||
|
|
|
@ -17,6 +17,7 @@ package org.acegisecurity.providers.ldap.authenticator;
|
||||||
|
|
||||||
import org.acegisecurity.providers.ldap.LdapAuthenticator;
|
import org.acegisecurity.providers.ldap.LdapAuthenticator;
|
||||||
import org.acegisecurity.providers.ldap.InitialDirContextFactory;
|
import org.acegisecurity.providers.ldap.InitialDirContextFactory;
|
||||||
|
import org.acegisecurity.providers.ldap.LdapUserSearch;
|
||||||
import org.springframework.beans.factory.InitializingBean;
|
import org.springframework.beans.factory.InitializingBean;
|
||||||
import org.springframework.util.Assert;
|
import org.springframework.util.Assert;
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.acegisecurity.providers.ldap.authenticator;
|
package org.acegisecurity.providers.ldap.search;
|
||||||
|
|
||||||
import org.acegisecurity.providers.ldap.*;
|
import org.acegisecurity.providers.ldap.*;
|
||||||
import org.acegisecurity.userdetails.UsernameNotFoundException;
|
import org.acegisecurity.userdetails.UsernameNotFoundException;
|
|
@ -1,6 +1,7 @@
|
||||||
package org.acegisecurity.providers.ldap.authenticator;
|
package org.acegisecurity.providers.ldap.authenticator;
|
||||||
|
|
||||||
import org.acegisecurity.providers.ldap.LdapUserInfo;
|
import org.acegisecurity.providers.ldap.LdapUserInfo;
|
||||||
|
import org.acegisecurity.providers.ldap.LdapUserSearch;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Luke Taylor
|
* @author Luke Taylor
|
||||||
|
|
|
@ -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.AbstractLdapServerTestCase;
|
||||||
import org.acegisecurity.providers.ldap.DefaultInitialDirContextFactory;
|
import org.acegisecurity.providers.ldap.DefaultInitialDirContextFactory;
|
||||||
import org.acegisecurity.providers.ldap.LdapUserInfo;
|
import org.acegisecurity.providers.ldap.LdapUserInfo;
|
||||||
|
import org.acegisecurity.providers.ldap.search.FilterBasedLdapUserSearch;
|
||||||
import org.acegisecurity.userdetails.UsernameNotFoundException;
|
import org.acegisecurity.userdetails.UsernameNotFoundException;
|
||||||
import org.acegisecurity.BadCredentialsException;
|
import org.acegisecurity.BadCredentialsException;
|
||||||
|
|
Loading…
Reference in New Issue