1

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?

xlm
  • 6,854
  • 14
  • 53
  • 55
Manish Mishra
  • 796
  • 6
  • 21
  • 1
    Maybe you need to do [step 1](https://docs.oracle.com/javase/8/docs/technotes/guides/security/jgss/lab/part1.html) before you do step 5. – dave_thompson_085 Feb 08 '17 at 03:45
  • Hi; If we've answered your question please mark it as such which will verify it to others in the community; otherwise please let us know if any. – T-Heron Mar 27 '17 at 19:27

1 Answers1

1

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

T-Heron
  • 5,385
  • 7
  • 26
  • 52