Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > SPNEGO TOKEN

Thread Tools


Posts: n/a
trying to implement some kerberos authentification, and all works fine if
authenticating local user, but when i try to authenticate
remote user with servlet, through Internet Explorer i keep getting the NTLM
token not the SPNEGO.
I have done following things:

1. put the requesting site in IE to local-network
2. in the IE extended security option enable Integrated Windows

then you should see a client response something like YIll....... which is
(nope i get
which is NTLM)

To configure Intranet Authentication:
1. Click the Security tab, click Local intranet, and then click Custom
2. In the Security Settings dialog box, scroll down to the User
Authentication section of the list.
3. Select Automatic logon only in Intranet zone. This setting prevents users
from having to re-enter logon credentials; a key piece to this solution.
4. Click OK to close the Security Settings dialog box.

In addition to the previous settings, one additional setting is required if
you are running Internet Explorer 6.0.
1. In Internet Explorer, click Tools, and then click Internet Options.
2. Click the Advanced tab.
3. Scroll down to the Security section.
4. Make sure that Enable Integrated Windows Authentication (requires
restart) is checked, and then click OK.
5. If this box was not checked, restart the browser.

I do have JCIFS NTLM setup for entering the site, but afterwards i need to
do authorisation with Kerberos to authenticate with EIM to work with jt400
on as400.

So when i do

httpServletResponse.setHeader("WWW-Authenticate", "Negotiate");

i allways get the NTLM token.

Searched the web couldn't find anything apart from the above given steps.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
This is an unexpected token. The expected token is 'NAME' =?Utf-8?B?Y2FzaGRlc2ttYWM=?= ASP .Net 2 07-13-2007 11:38 AM
Token pasting (## operator) - Add whitespace to a token Wessi C Programming 3 08-11-2005 01:02 PM
"token" "token sequence" "scalar variable" "vector" ?? G Fernandes C Programming 1 02-18-2005 05:32 AM
strange syntax: $var'token Michael Vilain Perl 1 09-15-2004 06:23 AM
preprocessor, token concatenation, no valid preprocessor token Cronus C++ 1 07-14-2004 11:10 PM