Hi Andrea!

Thanks!

Is there a way to "ask" geoserver what user is logged in??

I mean, j_spring_secutiry_check returns a cookie with JSESSIONID, and
everytime I send a request to geoserver, it checks this cookie. Is there a
way to ask to whom this JSESSIONID belongs to?

We only need to know if a user has a certain role or not, to check his
permission level or if he's admin.

Cheers,


Rodrigo C. Antonialli
======================================
Rio Claro - SP - Brasil
LinkedIn: http://www.linkedin.com/in/rcaprofile
Contato:  (19) 8136-2347
              [email protected]
              Skype: rc_antonialli


On Tue, Mar 19, 2013 at 4:53 PM, Andrea Aime
<[email protected]>wrote:

> On Tue, Mar 19, 2013 at 8:22 PM, Rodrigo Antonialli
> <[email protected]> wrote:
> > Hi!!
> >
> > I'd like to know if it's possible to restrict a WPS process according to
> > some role.
> >
> > Example:
> >
> > Process1 - ADMIN_ROLE
> > Process2 - USER_ROLE (or any other).
> >
> > I know it's possible to restrict a WPS method, but, is there a by process
> > configuration?
>
> Not at the moment. It may not be too hard to extend the security in
> that direction
> though.
> What makes things a bit more complicated is process chaining, one would
> have to check more than just the top level process, and walk the whole
> chain
> instead.
>
> Cheers
> Andrea
>
>
> --
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for
> more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39 339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to