On Wed, Nov 9, 2011 at 8:00 PM, Gabriel Roldan <[email protected]> wrote:
> A big +1.

Nice thanks.

> On a related note, one thing I found difficult when in need to build
> an alternate web app for GeoNode was that secureCatalog, as defined in
> main's applicationContext.xml, depends on accessRulesDao, defined in
> applicationSecurityContext.xml, so it was not easy to depend on an
> alternate security configuration.
> I don't know much about spring, but it would be great if that
> dependency could be inverted. Maybe just by defining secureCatalog in
> applicationSecurityContext.xml? so that if anyone needs to do
> something different it can treat security as a cross cutting concern
> instead of a hard dependency of main?

We could move that bean into applicationSecurityContext.xml, but
you'll still have to declare it somewhere otherwise you'll get no
security at all (actually, worse, you won't get any catalog at all, since
that's the top-most wrapper).

Another observation, how do you override the  applicationSecurityContext.xml
built into main?
Redefining all the beans in another context file lets you be pray of the
iteration order i the classpath, sometimes the new context file will win,
other times not, depending on the container, filesystem and java version

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to