On Wed, Oct 31, 2012 at 3:50 AM, Tim Anderson <tja...@gmail.com> wrote: > > I have a handful of java servlets that I would like to 'front-end' with my > Catalyst application, essentially using Catalyst to provide > authentication/authorization before passing along the browser requests to > the servlet. I don't need session information in the servlet, and I'm > willing to leave the servlet unsecured on an obscure port (network > protected, of course) in order to allow Catalyst to more easily interact > with it. In my mind, I see Catalyst behaving as a proxy, managing the entire > conversation, but I'd also be open to some kind of redirection solution. > > Does anyone have experience with doing something like this? I'd appreciate > any insight or direction. > > > -Tim > > > _______________________________________________ > List: Catalyst@lists.scsys.co.uk > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ > Dev site: http://dev.catalyst.perl.org/ >
This would be fairly do-able if you used REST for inter-app communication. Or something like Message::Passing, which allows you to send a "message" to a queue, which could be subscribed to from both ends, thus allowing the apps to talk to each other. If the Catalyst app is acting as a proxy to the servlets, I would think you could do a pretty regular authentication/authorization/session set up with it and just pass along whatever other info you need to the servlets via the aforementioned means. -- Devin Austin http://www.dhoss.net 9702906669 - Cell _______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/