我有一个使用 ldap 身份验证的项目,当我从 startup.bat 运行 tomcat 服务器时,身份验证工作正常。但是如果我在 eclipse 中启动 tomcat 服务器(用于调试),身份验证总是失败并且服务器启动时没有错误。在eclipse服务器中使用tomcat安装 当我尝试连接时,出现此异常
org.springframework.security.authentication.InternalAuthenticationServiceException: ghxdcvip-p.ghx.com:389; nested exception is javax.naming.CommunicationException: ghxdcvip-p.ghx.com:389 [Root exception is java.net.SocketException: Permission denied: connect]
最佳答案
在 VPN 连接中禁用 IPv6 解决了这个问题
关于eclipse - 在 eclipse 中运行 tomcat 服务器时,ldap 身份验证失败。没有权限,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32498004/