Java will try to read the realm and KDC settings from Windows environment variables. JAAS login config file Since JGSS uses JAAS to acquire the initial .