Hi,
Please find the attached patch to improve the Kerberos Authentication.
Note: I have given the reference to the Kerberos understanding in thedocumentation.
Thanks,Khushboo