简体   繁体   English

Java从与kerberos的交流中获得约会

[英]Java get appointment from exchange with kerberos

I'm trying to connect with EWS from microsoft to our Exchange. 我正在尝试将EWS从Microsoft连接到我们的Exchange。 There I get en error. 那里我得到错误。 In the trace is: 在跟踪中是:

401 - Unauthorized: Access is denied due to invalid credentials. 401-未经授权:由于凭据无效,访问被拒绝。 You do not have permission to view this directory or page using the credentials that you supplied. 您无权使用您提供的凭据查看此目录或页面。

We already have an C# Project which can connect with the Independent webdav library and there it works with the same username and password. 我们已经有一个C#项目,该项目可以与Independent webdav库连接,并且在此处使用相同的用户名和密码进行工作。 So I think it is the problem with the kind of authentication. 因此,我认为这是身份验证的问题。 Is there a open source java library that connect with kerberos? 是否存在与kerberos连接的开源Java库? Or may I'm on the wrong way to kill this error. 还是我采用错误的方法来消除此错误。

Thank you in advance. 先感谢您。

You can issue your WebDAV requests manually with Apache HttpClient. 您可以使用Apache HttpClient手动发出WebDAV请求。 It supports SPNEGO authentication. 它支持SPNEGO身份验证。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM