There is a jira issue at https://jira.duraspace.org/browse/FCREPO-1008 "Filtering of search results by access constraints" which is intended to do the work that you are asking for. It is far from trivial to change fedora-server.jar for fcrepo-serverXXX.jar. With your insight and interest in it, you may help me or do some of the work, would you like that?
-Gert On 24/10/2011, at 13.46, Swithun Crowe wrote: > Hello > > I'm looking at how to implement in-search filtering in GSearch. The demo > Java class has a dummy method for getting a user's role from their user > name. It looks like GSearch has access to some Fedora code > (fedora-server.jar) that can do authentication. But this code dates from > 2007, I think, and doesn't have the new FeSL/JAAS servlet filters. > > Ideally, my Fedora and GSearch applications would use the same > authentication mechanism/s. Failing that, if they could use identical > mechanisms, it would be better than using different ones. > > Would it be a lot of work to change fedora-server.jar for > fcrepo-serverXXX.jar? Or is there another way to share the same (or > identical) authentication mechanism/s between Fedora and GSearch, so that > an in-search filter can access user roles (from LDAP, a user file, SSO > etc.)? > > Thanks. > > 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 ------------------------------------------------------------------------------ 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