Hi Ben

I've added a comment to FCREPO-748 to reflect this.  Please feel free to
vote and add your own comments.

Regards
Steve

> -----Original Message-----
> From: Benjamin Ryan [mailto:[email protected]] 
> Sent: 16 December 2010 15:16
> To: [email protected]
> Subject: Re: [fcrepo-user] Fedora-commons-users Digest, Vol 
> 46, Issue 29
> 
> 
> Steve,
>   Yes that is what I want to be able to do.
>   At a minimum the logged on user id would be fine as I could 
> get all the other info from LDAP.
>   It would be good to able to get the other attributes as I 
> already get them via JAAS for policy stuff.
> 
> 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]
> Tel: 0113 343 7319
> Website: http://www.timescapes.leeds.ac.uk
> ---------------------------------------------------------------------
> ________________________________________
> Date: Thu, 16 Dec 2010 09:44:58 -0000
> From: "Steve Bayliss" <[email protected]>
> Subject: Re: [fcrepo-user] Passing session/authentication credentials
>         toexternal services
> To: "'Support and info exchange list for Fedora users.'"
>         <[email protected]>
> Message-ID: <002401cb9d05$e86e4850$03010...@asusp4t533>
> Content-Type: text/plain;       charset="us-ascii"
> 
> 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.as
> sembleDissemin
> 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

Reply via email to