javax.naming.NamingException:LDAP响应读取超时
我使用的是Spring3.1.2、JBoss6.4和JDK1.7.80。 登录时出现错误: javax.naming.NamingException:LDAP响应读取超时。 我使用了以下代码,但不起作用javax.naming.NamingException:LDAP响应读取超时,java,spring,jboss,Java,Spring,Jboss,我使用的是Spring3.1.2、JBoss6.4和JDK1.7.80。 登录时出现错误: javax.naming.NamingException:LDAP响应读取超时。 我使用了以下代码,但不起作用 <bean id="contextSourceTargetApp" class="org.springframework.ldap.core.support.LdapContextSource"> <property
<bean id="contextSourceTargetApp"
class="org.springframework.ldap.core.support.LdapContextSource">
<property name="baseEnvironmentProperties">
<map>
<entry key="com.sun.jndi.ldap.connect.timeout" value="5000" />
</map>
</property>
</bean>
提前谢谢 请发布您的LDAP配置。我使用的是“org.springframework.security.LDAP.DefaultSpringSecurityContextSource”