manifoldcf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anupam Bhattacharya <anupam...@gmail.com>
Subject How to check filtered results after enabling security
Date Mon, 02 Apr 2012 10:53:35 GMT
I have synchronized the documents from Documentum repository to SOLR. I can
see that my token fields are populated.

I have configured the solrconfig.xml with the below changes

  <!-- ManifoldCF document security enforcement component -->
  <searchComponent name="manifoldCFSecurity"
    class="org.apache.solr.mcf.ManifoldCFSearchComponent">
    <str name="AuthorityServiceBaseURL">
http://localhost:8345/mcf-authority-service</str>
  </searchComponent>

<requestHandler name="search" class="solr.SearchHandler" default="true">
  <arr name="last-components">
    <str>manifoldCFSecurity</str>
  </arr>
  ...
</requestHandler>

After enabling I can't see any records.

How to test the results set based on security from SOLR Admin by just
passing the user-name ?

http://localhost:8080/mcf-authorityservice/UserACLs?username={<http://localhost:8080/mcf-authorityservice/UserACLs?username=vu1538>
user-id-of-repository}

Mime
View raw message