Description
In many environments (eg. JEE containers), JAAS configuration may be set using methods different from the System property java.security.auth.login.config. While Kafka obtains JAAS configuration correctly using Configuration.getConfiguration(), an exception is thrown if the System property java.security.auth.login.config is not set even when the property is never used. There are also misleading error messages which refer to the value of this property which may or may not be the configuration for which the error is being reported.