使用SPNEGO Tomcat 7配置SSO的java.security.PrivilegedActionException [关闭]


1

我正在尝试使用SPNEGO为Tomcat 7和IBM JDK工作。我们使用“org.apache.catalina.authenticator.SpnegoAuthenticator”进行身份验证,调用com.sun.security.jgss.krb5.accept。它的配置是

com.sun.security.jgss.krb5.accept {
    com.sun.security.auth.module.Krb5LoginModule required
    doNotPrompt=true
    principal="xxx@xxx.COM"
    useKeyTab=true
    keyTab="C:/Downloads/tomcat/conf/xxx.keytab"
    storeKey=true
    isInitiator=false
    debug=true;
   };

我尝试使用Java 6(SR9),7(SR1,SR5),但我总是陷入下面的错误。

java.security.PrivilegedActionException: org.ietf.jgss.GSSException, major code: 11, minor code: 0
    major string: General failure, unspecified at GSSAPI level
    minor string: Desired initLifetime zero or less

任何人都可以指出我错过的任何事情吗?

-谢谢


请不要过帖。
Frank Thomas

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.