<div dir="ltr"><div>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 <span style="font-size:11pt;font-family:"Calibri","sans-serif"">Krb5LoginModule instances share the same keytab file
location. To use a different keytab we need to set refereshKrb5config to true in login configuration class which will refresh the configuration for all the </span><span style="font-size:11pt;font-family:"Calibri","sans-serif""> <span style="font-size:11pt;font-family:"Calibri","sans-serif"">Krb5LoginModule</span> instances. Why Java 6 doesn't allow multiple keytab instances ? There is some change in the approach how java 7 handles keytabs ( i am not able to get it ) but it looks like the problem exists in Java 7 as well.<br>
</span></div><span style="font-size:11pt;font-family:"Calibri","sans-serif""></span><div><div><div><div><div><br>-- <br>Regards,<br>Vipul<br>
</div></div></div></div></div></div>