You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Colm O hEigeartaigh <co...@apache.org> on 2017/06/27 12:20:45 UTC

Review Request 60465: RANGER-1671 - The admin service can't audit to Solr using Basic Authentication

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/60465/
-----------------------------------------------------------

Review request for ranger.


Bugs: RANGER-1671
    https://issues.apache.org/jira/browse/RANGER-1671


Repository: ranger


Description
-------

Although we have configuration items in install.properties to set a username and password for Solr, these are not actually used in the admin service:

    audit_solr_user
    audit_solr_password

This means that if Solr is configured to require basic authentication then we can't audit to it.

Also I fixed the build to work with JDK7 in this patch.


Diffs
-----

  security-admin/pom.xml 486cd581 
  security-admin/src/main/java/org/apache/ranger/solr/SolrUtil.java 9cea5293 


Diff: https://reviews.apache.org/r/60465/diff/1/


Testing
-------

Tested against Solr which requires basic authentication.


Thanks,

Colm O hEigeartaigh


Re: Review Request 60465: RANGER-1671 - The admin service can't audit to Solr using Basic Authentication

Posted by Qiang Zhang <zh...@zte.com.cn>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/60465/#review178980
-----------------------------------------------------------


Ship it!




Ship It!

- Qiang Zhang


On 六月 27, 2017, 12:20 p.m., Colm O hEigeartaigh wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/60465/
> -----------------------------------------------------------
> 
> (Updated 六月 27, 2017, 12:20 p.m.)
> 
> 
> Review request for ranger.
> 
> 
> Bugs: RANGER-1671
>     https://issues.apache.org/jira/browse/RANGER-1671
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Although we have configuration items in install.properties to set a username and password for Solr, these are not actually used in the admin service:
> 
>     audit_solr_user
>     audit_solr_password
> 
> This means that if Solr is configured to require basic authentication then we can't audit to it.
> 
> Also I fixed the build to work with JDK7 in this patch.
> 
> 
> Diffs
> -----
> 
>   security-admin/pom.xml 486cd581 
>   security-admin/src/main/java/org/apache/ranger/solr/SolrUtil.java 9cea5293 
> 
> 
> Diff: https://reviews.apache.org/r/60465/diff/1/
> 
> 
> Testing
> -------
> 
> Tested against Solr which requires basic authentication.
> 
> 
> Thanks,
> 
> Colm O hEigeartaigh
> 
>