You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Gregory Chanan (JIRA)" <ji...@apache.org> on 2016/03/09 00:50:40 UTC

[jira] [Updated] (SENTRY-1122) Allow Solr Audit Log to Read Impersonator Info

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

Gregory Chanan updated SENTRY-1122:
-----------------------------------
    Attachment: SENTRY-1122.patch

> Allow Solr Audit Log to Read Impersonator Info
> ----------------------------------------------
>
>                 Key: SENTRY-1122
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1122
>             Project: Sentry
>          Issue Type: Bug
>          Components: Solr Plugin
>    Affects Versions: 1.6.0
>            Reporter: Gregory Chanan
>            Assignee: Gregory Chanan
>             Fix For: 1.7.0
>
>         Attachments: SENTRY-1122.patch
>
>
> Currently, the impersonator info written by Sentry is always null:
> {code} 
> String impersonator = null; // FIXME
> {code}
> (https://github.com/apache/incubator-sentry/blob/b095b5b991a164983163390f0c8c6f78557d017e/sentry-solr/solr-sentry-core/src/main/java/org/apache/solr/sentry/SentryIndexAuthorizationSingleton.java#L129)
> Like with the user name, we should read out an http request attribute to fill in this info.  It is up to the underlying Solr authentication filter to fill this info in; that's outside of the scope of Sentry, but this at least allows that to be done.



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