Applying Kerberos to the environment