Re: Using multiple keytabs with Krb5LoginModule

2013-03-18 Thread Weijun Wang
JDK6 does not support two keytabs loaded at the same time. It was designed that way. You can merge the two to one and java will pick keys by service names. Of course, if your two keytab files contains keys for the same service and they are different, this won't work. JDK7 should support it. Ju

Using multiple keytabs with Krb5LoginModule

2013-03-18 Thread Vipul Mehta
I want to use multiple keytabs within the same kerberos server so instead of using a JAAS configuration file i wrote my own login configuration. But it seems that Krb5LoginModule instances share the same keytab file location. To use a different keytab we need to set refereshKrb5config to true in lo