[Geoserver-users] Restrict simultaneous logins for same user

Hi all,

i have created a wms service with users, roles etc in geoserver.
Is it possible to disable the simultaneous login
with the same user name-password?

Thanks in advance

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Restrict-simultaneous-logins-for-same-user-tp5275385.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi Sakis,

Do you want to restrict users to one http session? E.g., you'd be able to log into the web ui in two tabs/windows and use a tiled slippy map (which would make multiple WMS requests at the same time).

I'm unaware of any quick way to do that. I think one could create an AuthenticationFilter and add it to the Filter Chain or do something at the container level.
http://docs.geoserver.org/latest/en/user/security/auth/web.html

I think there'd be some tricky corner cases... It might be worth considering commercial support here: http://geoserver.org/support/.

Cheers,

Jim

On 7/8/2016 6:14 AM, sakis wrote:

Hi all,

i have created a wms service with users, roles etc in geoserver.
Is it possible to disable the simultaneous login
with the same user name-password?

Thanks in advance

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Restrict-simultaneous-logins-for-same-user-tp5275385.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hi Jim and thank you for your answer,

My wms service is used in autocad Map-Qgis and
i simply don't want two or more users connecting
with the same credential at the same time.

Cheers all

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Restrict-simultaneous-logins-for-same-user-tp5275385p5275431.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi all

WMS is a stateless service. As a consequence each request has to be authenticated. There is no session and no logout. What is the problem if a user triggers multiple WMS requests ?

Cheers
Christian

···

On Fri, Jul 8, 2016 at 3:28 PM, sakis <thanostheodor@anonymised.com> wrote:

Hi Jim and thank you for your answer,

My wms service is used in autocad Map-Qgis and
i simply don’t want two or more users connecting
with the same credential at the same time.

Cheers all


View this message in context: http://osgeo-org.1560.x6.nabble.com/Restrict-simultaneous-logins-for-same-user-tp5275385p5275431.html

Sent from the GeoServer - User mailing list archive at Nabble.com.


Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape


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

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH