[ 
https://issues.apache.org/jira/browse/RANGER-1353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Qiang Zhang updated RANGER-1353:
--------------------------------
    Attachment: 0001-RANGER-1353.patch

> NameRules should be set to the default value in Kerberized Environment
> ----------------------------------------------------------------------
>
>                 Key: RANGER-1353
>                 URL: https://issues.apache.org/jira/browse/RANGER-1353
>             Project: Ranger
>          Issue Type: Bug
>          Components: kms, Ranger
>            Reporter: Qiang Zhang
>            Assignee: Qiang Zhang
>              Labels: patch
>         Attachments: 0001-RANGER-1353.patch
>
>
> The code which have problem can be found in Java method 
> EmbeddedServer.start():
> {code}
> String nameRules = getConfig(ADMIN_NAME_RULES);
> if (getConfig(AUTHENTICATION_TYPE) != null
>       && 
> getConfig(AUTHENTICATION_TYPE).trim().equalsIgnoreCase(AUTH_TYPE_KERBEROS)
>       && SecureClientLogin.isKerberosCredentialExists(principal,keytab)) {
>  ...
> }
> {code}
> it will cause java.lang.NullPointerException



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to