You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/02/24 16:52:18 UTC

[jira] [Commented] (KAFKA-3279) SASL implementation checks for unused System property java.security.auth.login.config

    [ https://issues.apache.org/jira/browse/KAFKA-3279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15163226#comment-15163226 ] 

ASF GitHub Bot commented on KAFKA-3279:
---------------------------------------

GitHub user rajinisivaram opened a pull request:

    https://github.com/apache/kafka/pull/967

    KAFKA-3279: Remove checks for JAAS system property

    JAAS configuration may be set using other methods and hence the check for System property doesn't  always match where the actual configuration used by Kafka is loaded from.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rajinisivaram/kafka KAFKA-3279

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/967.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #967
    
----
commit 16f17a90412a8f66a942e0c6736578b95ef7942b
Author: Rajini Sivaram <ra...@googlemail.com>
Date:   2016-02-24T15:39:09Z

    KAFKA-3279: Remove checks for system property
    java.security.auth.login.config

----


> SASL implementation checks for unused System property java.security.auth.login.config
> -------------------------------------------------------------------------------------
>
>                 Key: KAFKA-3279
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3279
>             Project: Kafka
>          Issue Type: Bug
>          Components: security
>            Reporter: Rajini Sivaram
>            Assignee: Rajini Sivaram
>
> 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. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)