Hi Ben In fact something similar has been raised for a different situation - "E" datastreams authenticating to external http storage: https://jira.duraspace.org/browse/FCREPO-748
Both the "E" datastreams and SDep methods go through the ExternalContentManager - so potentially there could be a common solution to both issues. To clarify your use-case, what you are saying is that you would like Fedora to forward on certain parts of the original request context, eg the logged-on user? That could potentially be an additional configuration option, eg options to forward on the whole request context headers and attributes (potentially dangerous as basic auth would include the password), and maybe options to specify which headers/attributes should get passed through. (I think it may also be useful to include cross-context functionality, eg through configuration being able to specify that a service in the same container should be called using the RequestDispatcher. Though not really applicable to your case.) You might want to look at the code in org.fcrepo.server.access.dissemination.DisseminationService.assembleDissemin ation(...) to see what happens currently. Regards Steve > -----Original Message----- > From: Benjamin Ryan [mailto:[email protected]] > Sent: 15 December 2010 13:27 > To: [email protected] > Subject: [fcrepo-user] Passing session/authentication > credentials toexternal services > > > Hi, > Does anyone have experience of passing > session/authentication credentials to external services? > What I want to achieve is making available username, > password etc to say a PHP script that will process search > results and format them according to the credentials e.g. > hide results that this is no permission for or visually > display that access is restricted to certain resources. > I suspect that I would have to write some form of Java > servlet that could be called through an SDEP. > > Any pointers would be appreciated. > > Regards, > Ben > --------------------------------------------------------------------- > Dr Ben Ryan > Timescapes Archive Technical Officer > School of Sociology and Social Policy > Faculty of Education, Social Sciences and Law > Social Science Building > The University of Leeds > Leeds LS2 9JT > Email: [email protected]<mailto:[email protected]> > Tel: 0113 343 7319 > Website: > http://www.timescapes.leeds.ac.uk<http://www.timescapes.leeds.ac.uk/> > --------------------------------------------------------------------- > > -------------------------------------------------------------- > ---------------- > Lotusphere 2011 > Register now for Lotusphere 2011 and learn how > to connect the dots, take your collaborative environment > to the next level, and enter the era of Social Business. > http://p.sf.net/sfu/lotusphere-d2d > _______________________________________________ > Fedora-commons-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users > ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
