简体   繁体   中英

Random Kerberos validation error with Spring

I sometimes get in my application, say 1-10 times within 24h, the following error:

org.springframework.security.authentication.BadCredentialsException: Kerberos validation not succesfull
...
Caused by: java.security.PrivilegedActionException: GSSException: Defective token detected (Mechanism level: GSSHeader did not find the right tag)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:416)
    at org.springframework.security.extensions.kerberos.SunJaasKerberosTicketValidator.validateTicket(SunJaasKerberosTicketValidator.java:67)

Any ideas to how this error comes to be? As I said, it appears very random and does not happen very often.

您的客户可能正在发送JGSS无法处理的NTLM令牌。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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