tags:

views:

313

answers:

0

I'm new to java and WSIT, and I'm trying to create a WSIT client that talks to a simple HelloWorld WCF service with wsHttpBinding and Kerberos security by following the instructions from the Metro user guide at:

https://metro.dev.java.net/guide/Example_Applications.html#gfzhh.

But I'm getting the following error when running the client:

SEVERE: WSSTUBE0024: Error in Securing Outbound Message. com.sun.xml.wss.XWSSecurityException: java.security.PrivilegedActionException: java.security.PrivilegedActionException: GSSException: Invalid name provided (Mechanism level: Could not load configuration file C:\WINDOWS\krb5.ini (The system cannot find the file specified))

It seems to me that my kerberos infrastructure is not setup correctly, but I don't know how to fix it. Both the client and server machine are running Windows and in the same Active Directory domain, and the client and service principals have been created in the Active Directory. My question is:

What else do I need to do to setup the Kerberos on client's Windows machine to allow the Java client to use Kerberos authentication?

Thanks for the help.

Yudong