Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Spring Security with multiple webapps
Spring Security with multiple webapps [message #898846] Sat, 28 July 2012 00:20 Go to next message
Dmitri Chorzov is currently offline Dmitri ChorzovFriend
Messages: 1
Registered: July 2012
Junior Member
Hello,

we have a Virgo plan with 9 webapps inside. Each of them represents a 'plugin' and deployed to /webapp1 to /webapp9.

The goal is to integrate spring security as own bundle and secure all of this plugins without configuring spring security for each of them. The problem is, that all deployed bundles have their own application contexts and we don't how to intercept calls from /webappX and check for authorisation.

We already tried to create our own authenticationManager and provide it as a service to other bundles. But how we call authentication form/dialog from there? So we stuck at this point.

The idea of CAS Single Sign On will require to configure security context for all artifacts in the plan? If no configuration for webapps is needed, it should be the solution for this problem.

I would appreciate any help, thanks.
Re: Spring Security with multiple webapps [message #901574 is a reply to message #898846] Mon, 13 August 2012 13:28 Go to previous message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
Could you intercept the HTTP request flow in order to implement authentication, possibly using a servlet filter (perhaps something like this) or a Tomcat valve?
Previous Topic:Launching Virgo programmatically (say via Tanuki / java program)
Next Topic:VTS 3.0 - offline hosted repository
Goto Forum:
  


Current Time: Thu Dec 18 15:37:38 GMT 2014

Powered by FUDForum. Page generated in 0.02916 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software