简体   繁体   English

无法使用 SPNEGO Java GSS 机制编译安全认证

[英]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:我正在尝试在 Java 教程Secure Authentication Using SPNEGO Java GSS Mechanism 中运行示例 GssSpNegoClient.java,但由于以下行,我无法编译:

Jaas.loginAndAction("client", action);

The compiler is complaining that Jaas not found.编译器抱怨没有找到Jaas I am sure I've all the imports in place from the tutorial.我确信我已经完成了教程中的所有导入。 What am I missing here?我在这里缺少什么?

请确保 %JAVA_HOME%/bin 在系统 PATH 中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM