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/07/01 00:26:10 UTC

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

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

Rahul Sharma updated SENTRY-1378:
---------------------------------
    Description: 
Say I login with a principal 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. 

  was:
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. 


> 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
>         Attachments: SENTRY-1378.0-sentry-ha-redesign.patch
>
>
> Say I login with a principal 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)