Hmm, I think a rest-config like extension would not help either because the caller needs administrative privileges.
The only solution I see at the moment is to send back the role list for the authenticated user using a http response header attribute. This could be implemented in the new security patch using an optional servlet filter, default is NOT sending the role list. Does this make sense ?, need some votes here. @Gerome, if we implement this feature it will be available with version 2.2.x. If you need an instant solution, we can talk about an ugly and unsafe workaround. Cheers Christian Zitat von Andrea Aime <[email protected]>: > On Fri, Feb 10, 2012 at 3:21 PM, Gerome Bracquemont < > [email protected]> wrote: > >> I'm client side and i'm using Javascript > > > Ah... as far as I know there is no way to do what you want, a rest-config > like extension > showing users details to the clients would have to be developed. > > 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 339 8844549 > > 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 > > ------------------------------------------------------- > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
