Moved ContextSourceEc2InstanceLaunchingFactoryBean to test-support.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.ldap;
|
||||
package org.springframework.ldap.test;
|
||||
|
||||
import org.springframework.ldap.core.ContextSource;
|
||||
import org.springframework.ldap.core.support.LdapContextSource;
|
||||
@@ -20,6 +20,7 @@ import javax.net.ssl.SSLSession;
|
||||
|
||||
import org.springframework.ldap.core.support.DefaultTlsDirContextAuthenticationStrategy;
|
||||
import org.springframework.ldap.core.support.LdapContextSource;
|
||||
import org.springframework.ldap.test.ContextSourceEc2InstanceLaunchingFactoryBean;
|
||||
|
||||
/**
|
||||
* FactoryBean for testing LDAP TLS connections on an Amazon EC2 image launched by superclass.
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
|
||||
</bean>
|
||||
|
||||
<bean id="contextSource" class="org.springframework.ldap.ContextSourceEc2InstanceLaunchingFactoryBean">
|
||||
<bean id="contextSource" class="org.springframework.ldap.test.ContextSourceEc2InstanceLaunchingFactoryBean">
|
||||
<property name="awsKey" value="${aws.key}" />
|
||||
<property name="awsSecretKey" value="${aws.secret.key}" />
|
||||
<property name="imageName" value="${aws.ami}" />
|
||||
|
||||
Reference in New Issue
Block a user