SPNEGO TOKEN

Discussion in 'Java' started by polilop, May 5, 2008.

  1. polilop

    polilop Guest

    Hello,
    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
    Authentication

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

    To configure Intranet Authentication:
    1. Click the Security tab, click Local intranet, and then click Custom
    Level.
    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.
    polilop, May 5, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Michael Vilain

    strange syntax: $var'token

    Michael Vilain, Sep 14, 2004, in forum: Perl
    Replies:
    1
    Views:
    471
    Joe Smith
    Sep 15, 2004
  2. Cronus
    Replies:
    1
    Views:
    668
    Paul Mensonides
    Jul 15, 2004
  3. G Fernandes
    Replies:
    1
    Views:
    526
  4. Wessi
    Replies:
    3
    Views:
    849
    Lawrence Kirby
    Aug 11, 2005
  5. =?Utf-8?B?Y2FzaGRlc2ttYWM=?=

    This is an unexpected token. The expected token is 'NAME'

    =?Utf-8?B?Y2FzaGRlc2ttYWM=?=, Jul 13, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    780
    =?Utf-8?B?Y2FzaGRlc2ttYWM=?=
    Jul 13, 2007
Loading...

Share This Page