Modify API for Kerberos