Search code examples
javasecuritykerberosgssapi

Unable to compile Secure Authentication Using SPNEGO Java GSS Mechanism


I am trying to run the example GssSpNegoClient.java at the java tutorial Secure Authentication Using SPNEGO Java GSS Mechanism and I am not able to compile because of a line:

Jaas.loginAndAction("client", action);

The compiler is complaining that Jaas not found. I am sure I've all the imports in place from the tutorial. What am I missing here?


Solution

  • Please ensure that %JAVA_HOME%/bin is in the system PATH.