Hello

GSP> There is a jira issue at 
GSP> https://jira.duraspace.org/browse/FCREPO-1008 "Filtering of search 
GSP> results by access constraints" which is intended to do the work that 
GSP> you are asking for. It is far from trivial to change 
GSP> fedora-server.jar for fcrepo-serverXXX.jar. With your insight and 
GSP> interest in it, you may help me or do some of the work, would you 
GSP> like that?

Thanks for the link. I'm glad what I was thinking had been thought before.

I don't have the time or expertise to be of much assistance just now, I'm 
afraid. If I have time later on for another phase of development for our 
archive, this is something I could help with. But at the moment, I need to 
just get something working, even if it is a bit of a hack.

Although the code is old, am I right in thinking that there is a way to 
get user role attributes (from LDAP or xml file) into GSearch? 
fedora-server.jar contains a class for an LDAP filter, and presumably 
attributes get added to the HttpServletRequest object that is passed into 
RESTImpl, so I would just need to forward them to the object which has the 
search filter method.

Has anyone else tried this?

Swithun.

-- 
The University of St Andrews is a charity registered in Scotland: SC013532

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to