Hi,
I've successfully installed ManifoldCF 2.0.2 and Solr 5.0.0.
Everything works fine but when I activate the manifoldCFSecurity plugin
I get no results from Solr.
Without ManifoldCFSecurity plugin the Solr log shows me two hits when I
query 'Handbuch'.
2015-03-06 09:33:19.248; org.apache.solr.core.SolrCore; [elcore]
webapp=/solr path=/select
params={q=Handbuch&indent=true&wt=json&debugQuery=true&_=1425634399268}
hits=2 status=0 QTime=5
But with activated manifoldCFSecurity plugin I get no hits.
INFO - 2015-03-06 09:51:08.012; org.apache.solr.core.SolrCore; [elcore]
webapp=/solr path=/select
params={q=Handbuch&AuthenticatedUserName=user@domain&indent=true&wt=json&debugQuery=true&_=1425635468033}
hits=0 status=0 QTime=7
INFO - 2015-03-06 09:51:15.277;
org.apache.solr.mcf.ManifoldCFSearchComponent; Trying to match docs for
user '[:user@domain]'
INFO - 2015-03-06 09:51:15.281;
org.apache.solr.mcf.ManifoldCFSearchComponent; Saw authority response
AUTHORIZED:ELAuthSPConn
The response from the authorization service is
# curl
'http://localhost:8345/mcf-authority-service/UserACLs?username=user@domain'
AUTHORIZED:ELAuthSPConn
TOKEN:ELAuthGroup:Ui%3A0%23.w%7Cdomain%5Cuser
TOKEN:ELAuthGroup:GBesitzer+von+Abteilungen
TOKEN:ELAuthGroup:GBesitzer+von+Kunden
TOKEN:ELAuthGroup:GBesitzer+von+Produkte
TOKEN:ELAuthGroup:GMitglieder+von+Abteilungen
I also tried to query the allow_token_document directly (without
ManifoldCF plugin) and got exactly the single entry that user@domain is
allowed to see:
INFO - 2015-03-06 09:56:39.909; org.apache.solr.core.SolrCore; [elcore]
webapp=/solr path=/select
params={q=allow_token_document:"ELAuthGroup:Ui%253A0%2523.w%257Cdomain%255Cuser"&indent=true&wt=json&_=1425635799838}
hits=1 status=0 QTime=45
I've tried it with the Query Parser and the Search Component plugin with
no success.
Kind regards
Frank