You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Rahul Sharma (JIRA)" <ji...@apache.org> on 2016/06/30 22:15:10 UTC

[jira] [Created] (SENTRY-1378) Login fails for a secure Sentry Web UI

Rahul Sharma created SENTRY-1378:
------------------------------------

             Summary: Login fails for a secure Sentry Web UI
                 Key: SENTRY-1378
                 URL: https://issues.apache.org/jira/browse/SENTRY-1378
             Project: Sentry
          Issue Type: Bug
            Reporter: Rahul Sharma
            Assignee: Rahul Sharma


When using SPNEGO the kerberos principal is of the form "HTTP/<hostname>@Domain . So the http request has the user HTTP . Now for  the property sentry.service.web.authentication.allow.connect.users , we change the list to a lowercase and hence the doFilter method in SentryAuthFilter throws a Unauthorized user status code: 403 exception. 
We need to make the user in the http request to lower case to compare with set of users present in the property sentry.service.web.authentication.allow.connect.users. 



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