Question: When enabling the Centrify Kerberos in-memory Cache (KCM), the Java OpenJDK application suddenly cannot use SSO and may generate errors. Why does this happen?
For example, after enabling Centrify KCM by setting the following value to "KCM" in the /etc/centrifydc/centrifydc.conf file:
OpenJDK will fail to use SSO and messages similar to the following may be seen:
WARN ipc.Client: Exception encountered while connecting to the server : javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
Answer: This is expected. The reason is that Centrify DirectControl uses the MIT based implementation of Kerberos, but Java has its own implementation for Kerberos. Java does not use MIT Kerberos libraries, so there currently is no compatibility with Java and Centrify KCM.