简体   繁体   English

NTLM身份验证在eclipse上有效,但是tomcat给出了401未授权

[英]NTLM Authentication works on eclipse but tomcat gives 401 unauthorized

I used JCIFS to make NTLM authentication, it works fine as a stand alone application but when I deploy this module to tomcat server 5.5 I get 401 unauthorized, however I am able to run it on the same machine using same credentials but on eclipse as java stand alone application. 我使用JCIFS进行NTLM身份验证,它可以作为独立的应用程序正常工作,但是当我将该模块部署到tomcat服务器5.5时,我得到401的未授权身份,但是我可以使用相同的凭据在同一台机器上运行它,但是在与Java相同的Eclipse上独立应用程序。 Anyone helps? 有人帮忙吗?

我找到了解决方案,问题出在罐子加载中,我不得不在JRE中添加罐子,而不是tomcat lib中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Git + Eclipse:401未经授权的错误 - Git + Eclipse: 401 Unauthorized Error Servlet提供404(Eclipse + Tomcat) - Servlet gives 404 (Eclipse + Tomcat) 当WAR文件工作时,Eclipse的Tomcat提供404 - 以前的解决方案不起作用 - Eclipse's Tomcat gives a 404 while the WAR file works-previous solutions don't work 从Eclipse中运行Tomcat总是可以得到404(但是index.html可以工作) - Running Tomcat from within Eclipse always gives me 404 (but index.html works) 在Eclipse Android中,HTTP连接(GET)中的响应始终为401(未经授权) - Response in HTTP Connection (GET) is always 401(Unauthorized) in eclipse android Eclipse Web Services测试客户端和异常:(401)未经授权的错误 - Eclipse Web Services Test Client and Exception: (401) Unauthorized error Eclipse,Git和Bitbucket - 无法推送 - 错误401未经授权 - Eclipse, Git and Bitbucket - Can't push - Error 401 Unauthorized 新的 eclipse 版本无法将 jar 部署到 Nexus 存储库,401 未经授权 - new eclipse version fails to deploy jar to Nexus repo with 401 unauthorized 密钥库证书可在Eclipse上运行,但Tomcat不能 - Keystore certificate works at Eclipse but Tomcat no 基本身份验证在eclipse中不起作用,但是当我将我的应用程序放入apache-tomcat中的web-app中时有效 - basic authentication not working in eclipse but works when i put my app in web-app in apache-tomcat
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM