LDAP-33: Remove package dependency cycle.
This commit is contained in:
@@ -9,11 +9,11 @@
|
||||
<property name="location" value="classpath:/conf/ldap-openldap.properties" />
|
||||
</bean>
|
||||
|
||||
<bean id="contextSource" class="org.springframework.ldap.support.LdapContextSource" >
|
||||
<bean id="contextSource" class="org.springframework.ldap.core.support.LdapContextSource" >
|
||||
<property name="urls" value="${urls}" />
|
||||
<property name="userDn" value="${userDn}" />
|
||||
<property name="password" value="${password}" />
|
||||
<property name="dirObjectFactory" value="org.springframework.ldap.support.DefaultDirObjectFactory" />
|
||||
<property name="dirObjectFactory" value="org.springframework.ldap.core.DefaultDirObjectFactory" />
|
||||
</bean>
|
||||
|
||||
<bean id="ldapTemplate" class="org.springframework.ldap.core.LdapTemplate">
|
||||
|
||||
@@ -12,15 +12,15 @@
|
||||
</bean>
|
||||
|
||||
<bean id="contextSource"
|
||||
class="org.springframework.ldap.support.LdapContextSource">
|
||||
class="org.springframework.ldap.core.support.LdapContextSource">
|
||||
<property name="urls" value="${urls}" />
|
||||
|
||||
<property name="authenticationSource">
|
||||
<bean
|
||||
class="org.springframework.ldap.support.authentication.AcegiAuthenticationSource" />
|
||||
class="org.springframework.ldap.authentication.AcegiAuthenticationSource" />
|
||||
</property>
|
||||
<property name="dirObjectFactory"
|
||||
value="org.springframework.ldap.support.DefaultDirObjectFactory" />
|
||||
value="org.springframework.ldap.core.DefaultDirObjectFactory" />
|
||||
</bean>
|
||||
|
||||
<bean id="ldapTemplate" class="org.springframework.ldap.core.LdapTemplate">
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
<property name="location" value="classpath:/conf/ldap.properties" />
|
||||
</bean>
|
||||
|
||||
<bean id="contextSource" class="org.springframework.ldap.support.LdapContextSource" >
|
||||
<bean id="contextSource" class="org.springframework.ldap.core.support.LdapContextSource" >
|
||||
<property name="urls" value="${urls}" />
|
||||
<property name="userDn" value="${userDn}" />
|
||||
<property name="password" value="${password}" />
|
||||
<property name="dirObjectFactory" value="org.springframework.ldap.support.DefaultDirObjectFactory" />
|
||||
<property name="dirObjectFactory" value="org.springframework.ldap.core.DefaultDirObjectFactory" />
|
||||
<property name="base" value="${base}" />
|
||||
</bean>
|
||||
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
<property name="location" value="classpath:/conf/ldap.properties" />
|
||||
</bean>
|
||||
|
||||
<bean id="contextSource" class="org.springframework.ldap.support.LdapContextSource" >
|
||||
<bean id="contextSource" class="org.springframework.ldap.core.support.LdapContextSource" >
|
||||
<property name="urls" value="${urls}" />
|
||||
<property name="userDn" value="${userDn}" />
|
||||
<property name="password" value="${password}" />
|
||||
<property name="dirObjectFactory" value="org.springframework.ldap.support.DefaultDirObjectFactory" />
|
||||
<property name="dirObjectFactory" value="org.springframework.ldap.core.DefaultDirObjectFactory" />
|
||||
</bean>
|
||||
|
||||
<bean id="ldapTemplate" class="org.springframework.ldap.core.LdapTemplate">
|
||||
|
||||
@@ -12,14 +12,14 @@
|
||||
</bean>
|
||||
|
||||
<bean id="contextSourceTarget"
|
||||
class="org.springframework.ldap.support.LdapContextSource">
|
||||
class="org.springframework.ldap.core.support.LdapContextSource">
|
||||
<property name="urls" value="${urls}" />
|
||||
<property name="userDn" value="${userDn}" />
|
||||
<property name="password" value="${password}" />
|
||||
<property name="base" value="${base}" />
|
||||
<property name="pooled" value="false" />
|
||||
<property name="dirObjectFactory"
|
||||
value="org.springframework.ldap.support.DefaultDirObjectFactory" />
|
||||
value="org.springframework.ldap.core.DefaultDirObjectFactory" />
|
||||
</bean>
|
||||
|
||||
<bean id="contextSource"
|
||||
|
||||
@@ -34,8 +34,8 @@ import org.apache.directory.server.jndi.ServerContextFactory;
|
||||
import org.apache.directory.server.protocol.shared.store.LdifFileLoader;
|
||||
import org.springframework.beans.factory.DisposableBean;
|
||||
import org.springframework.ldap.core.ContextSource;
|
||||
import org.springframework.ldap.support.DefaultDirObjectFactory;
|
||||
import org.springframework.ldap.support.DistinguishedName;
|
||||
import org.springframework.ldap.core.DefaultDirObjectFactory;
|
||||
import org.springframework.ldap.core.DistinguishedName;
|
||||
|
||||
/**
|
||||
* Utility class to initialize the apache directory server for use in the
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package org.springframework.ldap.support.transaction;
|
||||
|
||||
import org.springframework.ldap.core.DirContextAdapter;
|
||||
import org.springframework.ldap.core.DistinguishedName;
|
||||
import org.springframework.ldap.core.LdapTemplate;
|
||||
import org.springframework.ldap.support.DirContextAdapter;
|
||||
import org.springframework.ldap.support.DistinguishedName;
|
||||
|
||||
public class DummyDaoImpl {
|
||||
private LdapTemplate ldapTemplate;
|
||||
|
||||
@@ -12,7 +12,7 @@ import javax.naming.ldap.StartTlsResponse;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.springframework.ldap.support.LdapContextSource;
|
||||
import org.springframework.ldap.core.support.LdapContextSource;
|
||||
|
||||
/**
|
||||
* ContextSource implementation which overrides setupAuthenticatedEnvironment to
|
||||
|
||||
@@ -143,7 +143,7 @@ public class VirtualListViewRequestControl implements DirContextProcessor {
|
||||
}
|
||||
|
||||
/*
|
||||
* @see org.springframework.ldap.support.control.AbstractRequestControlDirContextProcessor#createRequestControl()
|
||||
* @see org.springframework.ldap.control.AbstractRequestControlDirContextProcessor#createRequestControl()
|
||||
*/
|
||||
public Control createRequestControl() {
|
||||
try {
|
||||
|
||||
@@ -19,8 +19,8 @@ import javax.naming.Name;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.springframework.ldap.core.DirContextOperations;
|
||||
import org.springframework.ldap.core.LdapOperations;
|
||||
import org.springframework.ldap.support.DirContextOperations;
|
||||
|
||||
/**
|
||||
* A {@link CompensatingTransactionRollbackOperation} to rollback an unbind
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.apache.commons.lang.StringUtils;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.springframework.ldap.core.ContextSource;
|
||||
import org.springframework.ldap.support.DistinguishedName;
|
||||
import org.springframework.ldap.core.DistinguishedName;
|
||||
import org.springframework.transaction.support.TransactionSynchronizationManager;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
|
||||
@@ -19,8 +19,8 @@ import javax.naming.Name;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.springframework.ldap.core.DirContextAdapter;
|
||||
import org.springframework.ldap.core.LdapOperations;
|
||||
import org.springframework.ldap.support.DirContextAdapter;
|
||||
|
||||
/**
|
||||
* A {@link CompensatingTransactionRecordingOperation} keeping track of a rebind
|
||||
|
||||
@@ -19,8 +19,8 @@ import javax.naming.Name;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.springframework.ldap.core.DirContextOperations;
|
||||
import org.springframework.ldap.core.LdapOperations;
|
||||
import org.springframework.ldap.support.DirContextOperations;
|
||||
|
||||
/**
|
||||
* A {@link CompensatingTransactionRollbackOperation} to rollback a rebind
|
||||
|
||||
@@ -17,8 +17,8 @@ package org.springframework.ldap.support.transaction;
|
||||
|
||||
import javax.naming.Name;
|
||||
|
||||
import org.springframework.ldap.core.DirContextAdapter;
|
||||
import org.springframework.ldap.core.LdapOperations;
|
||||
import org.springframework.ldap.support.DirContextAdapter;
|
||||
|
||||
/**
|
||||
* {@link CompensatingTransactionRecordingOperation} to keep track of unbind
|
||||
|
||||
@@ -3,8 +3,8 @@ package org.springframework.ldap.support.transaction;
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import org.easymock.MockControl;
|
||||
import org.springframework.ldap.core.DistinguishedName;
|
||||
import org.springframework.ldap.core.LdapOperations;
|
||||
import org.springframework.ldap.support.DistinguishedName;
|
||||
|
||||
public class BindRecordingOperationTest extends TestCase {
|
||||
private MockControl ldapOperationsControl;
|
||||
|
||||
@@ -3,9 +3,9 @@ package org.springframework.ldap.support.transaction;
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import org.easymock.MockControl;
|
||||
import org.springframework.ldap.core.DirContextOperations;
|
||||
import org.springframework.ldap.core.DistinguishedName;
|
||||
import org.springframework.ldap.core.LdapOperations;
|
||||
import org.springframework.ldap.support.DirContextOperations;
|
||||
import org.springframework.ldap.support.DistinguishedName;
|
||||
|
||||
public class BindRollbackOperationTest extends TestCase {
|
||||
private MockControl ldapOperationsControl;
|
||||
|
||||
@@ -12,8 +12,8 @@ import junit.framework.TestCase;
|
||||
|
||||
import org.easymock.MockControl;
|
||||
import org.springframework.ldap.core.AttributesMapper;
|
||||
import org.springframework.ldap.core.DistinguishedName;
|
||||
import org.springframework.ldap.core.LdapOperations;
|
||||
import org.springframework.ldap.support.DistinguishedName;
|
||||
|
||||
public class ModifyAttributesRecordingOperationTest extends TestCase {
|
||||
private MockControl ldapOperationsControl;
|
||||
|
||||
@@ -4,8 +4,8 @@ import javax.naming.Name;
|
||||
import javax.naming.directory.ModificationItem;
|
||||
|
||||
import org.easymock.MockControl;
|
||||
import org.springframework.ldap.core.DistinguishedName;
|
||||
import org.springframework.ldap.core.LdapOperations;
|
||||
import org.springframework.ldap.support.DistinguishedName;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
|
||||
@@ -3,9 +3,9 @@ package org.springframework.ldap.support.transaction;
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import org.easymock.MockControl;
|
||||
import org.springframework.ldap.core.DirContextAdapter;
|
||||
import org.springframework.ldap.core.DistinguishedName;
|
||||
import org.springframework.ldap.core.LdapOperations;
|
||||
import org.springframework.ldap.support.DirContextAdapter;
|
||||
import org.springframework.ldap.support.DistinguishedName;
|
||||
|
||||
public class RebindRecordingOperationTest extends TestCase {
|
||||
private MockControl ldapOperationsControl;
|
||||
|
||||
@@ -3,9 +3,9 @@ package org.springframework.ldap.support.transaction;
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import org.easymock.MockControl;
|
||||
import org.springframework.ldap.core.DirContextOperations;
|
||||
import org.springframework.ldap.core.DistinguishedName;
|
||||
import org.springframework.ldap.core.LdapOperations;
|
||||
import org.springframework.ldap.support.DirContextOperations;
|
||||
import org.springframework.ldap.support.DistinguishedName;
|
||||
|
||||
public class RebindRollbackOperationTest extends TestCase {
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package org.springframework.ldap.support.transaction;
|
||||
|
||||
import org.easymock.MockControl;
|
||||
import org.springframework.ldap.core.DistinguishedName;
|
||||
import org.springframework.ldap.core.LdapOperations;
|
||||
import org.springframework.ldap.support.DistinguishedName;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package org.springframework.ldap.support.transaction;
|
||||
|
||||
import org.easymock.MockControl;
|
||||
import org.springframework.ldap.core.DirContextAdapter;
|
||||
import org.springframework.ldap.core.DistinguishedName;
|
||||
import org.springframework.ldap.core.LdapOperations;
|
||||
import org.springframework.ldap.support.DirContextAdapter;
|
||||
import org.springframework.ldap.support.DistinguishedName;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@ package org.springframework.ldap.support.transaction;
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import org.easymock.MockControl;
|
||||
import org.springframework.ldap.core.DistinguishedName;
|
||||
import org.springframework.ldap.core.LdapOperations;
|
||||
import org.springframework.ldap.support.DistinguishedName;
|
||||
|
||||
public class UnbindRollbackOperationTest extends TestCase {
|
||||
private MockControl ldapOperationsControl;
|
||||
|
||||
Reference in New Issue
Block a user