Kerberos authentication

I updated the patch and used a ConcurrentHashMap to hold on to the UGI object. I'm sorry for the code style and is there any guid to make it right?