On Fri, Sep 2, 2011 at 12:20 AM, Scott Ellis <[email protected]> wrote: > I was hoping to have some luck from the GeoServerApplication singleton, but > when I call get on it from the context of my execute method it fails with > “There is no application attached to current thread btpool0-35”
You're asking on the wrong ml, GeoTools has no notion of GeoServer security. If a user is logged in you can find it using the standard Spring Security way: SecurityContextHolder.getContext().getAuthentication(); 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 ------------------------------------------------------- ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
