• Post Reply Bookmark Topic Watch Topic
  • New Topic

Consuming a .NET kerberized web service using the spnego.sourceforge.net open source library  RSS feed

Manuel Leiria
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

I have one WebLogic server that needs to access a web service in one iis server and this web server is protected by Kerberos. My code works fine in the development environment where kerberos and ntlm are both activated (but the mechanism choosen is kerberos). In production environment, ntlm is disabled (I was told that this is the main difference beetween the two environments). Now, what happens is that, in production mode instead of getting an Authorization Header: Negociate, I receive an Authorization Header: Kerberos and, of course, I receive from the code one

java.lang.UnsupportedOperationException: Negotiate or Basic Only:Kerberos

from this method:

in the SpnegoProvider class.

Now, the guys here in my company (the iis administrators) know nothing about kerberos (I think the've configured the iis/kerberos/AD following some kind of next, next, next install, if you know what I mean).
The final question is: How can I workaround this exception??

Just adding some more info on the subject

In the code posted above,
Development env:




In Production env.,


there's no token!!!

thanks for any light!!!

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!