Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » SpringSecurity (Acegi) integration
SpringSecurity (Acegi) integration [message #99257] Tue, 22 July 2008 09:31 Go to next message
Eclipse UserFriend
Originally posted by: ap.sapida.de

Is it possible to use SpringSecurity (formerly known as Acegi) with RAP?

Andy
Re: SpringSecurity (Acegi) integration [message #99303 is a reply to message #99257] Tue, 22 July 2008 09:50 Go to previous message
Stefan Hansel is currently offline Stefan HanselFriend
Messages: 103
Registered: July 2009
Senior Member
<br><font size=2 face="sans-serif">I'd say - it depends :D ... on how you
want to use SpringSecurity ...</font>
<br>
<br><font size=2 face="sans-serif">From the docs there are 3 main features
that SpringSecurity supports:</font>
<br>
<br><font size=2 face="sans-serif">1) Authentication</font>
<br><font size=2 face="sans-serif">2) WebRequest Security</font>
<br><font size=2 face="sans-serif">3) Service Layer and domain object security.</font>
<br>
<br><font size=2 face="sans-serif">Without digging depper into this: I
can't find any reasons why 1+3 wouldn't work.</font>
<br><font size=2 face="sans-serif">I have my doubts regarding 2).</font>
<br><font size=2 face="sans-serif">RAP uses the same URL most of the time
- so you wouldn't have any fine grained control over what is allowed and
what not. </font>
<br><font size=2 face="sans-serif">So on the web-request layer you'd only
be able to use SpringSecurity on a full or no-access basis.</font>
<br>
<br><font size=2 face="sans-serif">Anyway: Any application with rich ajax-support
(and without the 'classical' web-flow) would suffer the same problem.</font>
<br>
<br><font size=2 face="sans-serif">If you start with SpringSecurity you
should also have a look on the thread 'Integrating Spring' .. maybe you
need the techniques described there as well, because RAP has a slightly
different use of Threads than normal apps.</font>
<br><font size=2 face="sans-serif">Spring often puts data in the ThreadLocals
of the requests, which isn't enough because your code in RAP runs in a
different thread.</font>
<br>
<br>
<br>
Previous Topic:org.eclipse.swt.SWTException: Invalid thread access
Next Topic:java.lang.IllegalArgumentException: An entry point named 'default' does not exis
Goto Forum:
  


Current Time: Tue Sep 24 22:15:31 GMT 2024

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

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

Back to the top