Hi all, I'm trying to write a custom user group/role details service for Geoserver. I've created my own implementations of the usergroup and role services, which appear ok in the web interface, but I have a problem of accessing the list of users and roles.
I get a lazy load exception when accessing referenced entities of my user entities, because presumably the db session used has been closed before the view is generated. The easiest solution appears to be to use the "Open session in view" filter which would normally go in web.xml. As this is supposed to be an add-on module, it would more approproately go in the jar file, so I would be including META-INF/web-fragment.xml. The problem is that Gepserver is using the 2.3 web application spec, and web-fragment support is only in 3.0. Could anyone suggest a solution to this? Thanks, Mark ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
