Kerberos broken after upgrading from Java6 to Java7

后端 未结 3 1773
轻奢々
轻奢々 2021-02-05 22:17

I have a working application using the spring-security kerberos extension, running on jboss, running java 6.

I\'m in the process of upgrading my jvm from java 6 to jav

3条回答
  •  庸人自扰
    2021-02-05 23:13

    Here are two potential issues that might be affecting you:

    1. Java 7 appears to switch the default encryption type order. Details:

      • Java 7 Kerberos Issue - AES128 Corrupt checksum

    2. You did't say what specific version of JDK 7 you are using, but there was a bug in earlier versions of JDK 7 that prevented loading keytab files via "file:" URLs:

      • http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=2221392

    Another user on SO worked around the last issue by modifying Spring source:

    • BadCredentialsException: Kerberos validation not succesfull

提交回复
热议问题