Hi Gis, answers inside

Zitat von Gis Mage <[email protected]>:

> Hi list!
>
> I've got a problem running GS in production.
> I use JOSSO user repository and GS Spring Security recieves user roles
> forom JOSSO.
> I need to use a role name different from default ROLE_ADMINISTRATOR
> for users with administrative rights (for access GS GUI).
>
> Spring Security adds ROLE_ prefix to a user role, but I'm ok with
> that.

I think you can configure Spring Security with an empty role prefix.

> So I want to have something like ROLE_GISADM
> Is it possible?

No, Geoserver has some system roles, one of them is  
"ROLE_ADMINISTRATOR". Geoserver developers need a set of system roles.

>
> If I have to recompile GS from source, where is a place to change this?

You have to do a global search/replace for all files.

Btw, starting with geoserver 2.2 there will be a user named "root"  
which can always login (even if JOSSO is down). This user has the role  
"ROLE_ADMINISTRATOR" assigned automatically. Perhaps this helps for  
your setup

Cheers
Christian

>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to