[Geoserver-users] Security with GS 1.6

Hi all!

I need protect all services (WMS, WFS, WFS-T and WCS) in my Geoserver installation by usr/passw. I try some modifications in two files in data/security folder. I protect services but I can't access when
I put the correct usr/passw.

If I uncomment default lines in service.properties and users.properties, security works fine for WFS and WFS-T. What are the lines for protect WCS and WMS. Where I read some tutorial about geoserver 1.6 security system.

Thanks in advance, Alt

Hi Alfonso,

What lines did you try? For instance if you wanted to protect all of wms:

service.properties:

wms=ROLE_WMS

user.properties:

<user>=<password>,ROLE_WMS

Hope that helps.

-Justin

Alfonso Fraguas Bravo wrote:

Hi all!

I need protect all services (WMS, WFS, WFS-T and WCS) in my Geoserver installation by usr/passw. I try some modifications in two files in data/security folder. I protect services but I can't access when
I put the correct usr/passw.

If I uncomment default lines in service.properties and users.properties, security works fine for WFS and WFS-T. What are the lines for protect WCS and WMS. Where I read some tutorial about geoserver 1.6 security system.

Thanks in advance, Alt

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,47d19a47241631637810514!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Hi Justin,

you had help me. I'm confused between usr/passw in wfs sample because are the same... I'm stupid. Now all works fine. Thank you very much. Do you know if password will be encrypted in future versions?

Salu2, Alt

Justin Deoliveira escribió:

Hi Alfonso,

What lines did you try? For instance if you wanted to protect all of wms:

service.properties:

wms=ROLE_WMS

user.properties:

<user>=<password>,ROLE_WMS

Hope that helps.

-Justin

Alfonso Fraguas Bravo wrote:

Hi all!

I need protect all services (WMS, WFS, WFS-T and WCS) in my Geoserver installation by usr/passw. I try some modifications in two files in data/security folder. I protect services but I can't access when
I put the correct usr/passw.

If I uncomment default lines in service.properties and users.properties, security works fine for WFS and WFS-T. What are the lines for protect WCS and WMS. Where I read some tutorial about geoserver 1.6 security system.

Thanks in advance, Alt

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,47d19a47241631637810514!

Alfonso Fraguas Bravo ha scritto:

Hi Justin,

you had help me. I'm confused between usr/passw in wfs sample because are the same... I'm stupid. Now all works fine. Thank you very much. Do you know if password will be encrypted in future versions?

Not before we have a UI to handle password editing I guess... who's
gonna be able to edit them otherwise?
Unfortunately this means we'll have to wait for the new UI, or for
some martyr willing to make a UI with the current framework.

I guess we could make a compromise and have a setting allowing
the usage of encrypted passwords and a command line tool that
can be used to add/remove/edit users and their passwords.

The patch contained in this issue:
http://jira.codehaus.org/browse/GEOS-1793
can provide some inspiration on writing such a tool.

Cheers
Andrea