ews-java-api icon indicating copy to clipboard operation
ews-java-api copied to clipboard

TokenCredentials + Kerberos Service Token

Open acaride opened this issue 9 years ago • 4 comments

Is it posible to authenticate with the EWS using a Kerberos Service Ticket?? I need this because i have a Single Sign On architecture in my web application using the SPNEGO authenticate negotiation process.

Scenario: 1 - Client: I am Alejandro and i need a Ticket to get tickets (TGT) 2 - KDC: here is a TGT (if you can decrypt this response with your password hash) 3 - Client: Here is my TGT, give me a Service Ticket for the EWS 4 - KDC: Here is your Service Ticket 5 - Me: Here is my Service Ticket, Authenticate me ! -> new TokenCredentials(serviceTicket) 6 - EWS: Great, everything is ok ! Proceed.

Thanks in advance!

acaride avatar Mar 17 '16 13:03 acaride

In HttpClientWebRequest class I see that kerberos is disabled : "// Disable Kerberos in the preferred auth schemes - EWS should usually allow NTLM or Basic auth"

Is it possible to enable kerberos authentication or is there any other solution ?

gokhanmansur avatar Apr 30 '18 10:04 gokhanmansur

How to use EWS Java API for Kerberos authentication ? We are using EWS Java API 2.0 . But there is no example where we could use it for Kerberos Authentication . Is this still open ?

srinivasiyermv avatar Apr 13 '19 16:04 srinivasiyermv

I am also still searching for a solution for JAVA API with kerberos authentication for connecting EWS

accessbalaji avatar Sep 20 '19 21:09 accessbalaji

there is any news about kerberos authentication with EWS API?

shimi-abdelouahad avatar Apr 11 '22 15:04 shimi-abdelouahad