On Tue, Apr 19, 2011 at 12:55 PM, <[email protected]> wrote: > At a first look I see no big problems here, especially since I do not intend > to backport to 2.1.x. I really would like to migrate to Spring 3.x on trunk > and use Spring Security 3.x, I hope there are no showstoppers. > > But I am a little bit in sorrow about the configuration. Which files have to > be touched ?. I would like to avoid migration problems between 2.1.x and > 2.2.x later on.
We'd have to modify just one line in the current config: <bean id="userDetailsService" class="org.geoserver.security.impl.GeoserverUserDao" depends-on="extensions"> </bean> make that use the GeoServerUserDetailsProxy instead, and have that one first look in the spring context for any implementation of UserDetailsService, if none is found it's going to instantiate a GeoServerUserDao and delegate to it So I guess it should be fine? The only thing I'd need from the new pluggable system is to allow this extension to keep on working, that is, even in 2.2.x if someone pops in the classpath and spring context a custom UserDetailsService GS should try to use that one (provided the auth chain is at all compatible with it, that is, basic or digest auth, I guess for other authentication mechansms it might not make sense). 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 mob: +39 333 8128928 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 ------------------------------------------------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
