[Geoserver-users] multiple sld files to geoserver layer according to the user sessions

Hi Guys

i have already used styling with geoserver vector layers. my question is :

is it possible to save many styles in a geoserver for a single layer
according to different user sessions authentication?

thanks and regards
Zelio Fernandes

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/multiple-sld-files-to-geoserver-layer-according-to-the-user-sessions-tp5021407.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

It is definitely possible to have many styles associated with a single layer. GeoServer doesn’t have a mechanism for selecting the style based on the current user, though. Typically this would be accomplished by having the client change the STYLES parameter in the GetMap request (for example, by modifying the configuration of the OpenLayers Layer object being used.)

···

On Fri, Dec 7, 2012 at 5:56 AM, zeliofern <zelio.fern@anonymised.com> wrote:

Hi Guys

i have already used styling with geoserver vector layers. my question is :

is it possible to save many styles in a geoserver for a single layer
according to different user sessions authentication?

thanks and regards
Zelio Fernandes


View this message in context: http://osgeo-org.1560.n6.nabble.com/multiple-sld-files-to-geoserver-layer-according-to-the-user-sessions-tp5021407.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Zelio,

No is the short answer.
However, you could solve this problem programmatically by catching the
request and changing it according to the session_id/user_id or
leave it to the user to modify the &styles=xxxx part of the WMS request,
provided you have defined the different styles or
you could have the same layer several times defined with different default
styles, which are called by different users.

I know that users want A their particular styling and B only use the default
style. That rarely works.

Cheers

Christian

-----
____________________________

Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002

Telephone: +61-3-8636 2325
Telefax: +61-3-8636 2813
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/multiple-sld-files-to-geoserver-layer-according-to-the-user-sessions-tp5021407p5022626.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Thankyou Guys .....now iam clear with it.

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/multiple-sld-files-to-geoserver-layer-according-to-the-user-sessions-tp5021407p5022696.html
Sent from the GeoServer - User mailing list archive at Nabble.com.