Hi Stephen

Can you try the following.

Open a browser and call a OGC service on a protected resource. The browser
should pop up a login panel (for basic or digest auth). After login, the
browser should send authentication header attributes for each request. To
stop sending this attributes, you must close your browser because there is
no explicit log out for stateless authentication.

AFAIK it is not possible to disable "session integration". Would be a new
feature.

Christian


On Mon, Aug 11, 2014 at 6:58 PM, Stephen Brooke <sbro...@mdacorporation.com>
wrote:

>  Andrea,
>
>
>
> Here are some more details that should answer your questions:
>
>
>
> >Session? As in HTTP one?
>
> [Steve]: Yes I mean HTTP session
>
>
>
> >OGC services should create a session to start with, unless you configured
> the security otherwise, or you are using the same browser
>
> >to admin and do OGC requests at the same time.
>
> [Steve]: Yes, I am using the same browser to admin GeoServer and also to
> run a web client that uses OGC services.  I will try running the web client
> in a different browser and see if the problem is still reproducible in that
> case.
>
>
>
> My web client can pass credentials each time so a session isn’t really
> needed for the OGC services.  Is there a stateless mode for the OGC
> services?  I see in the “GeoServer User Manual, Release 2.5-RC2” it states:
>
>
>
> ----------------------------------------
>
> *16.2.3 Authentication to OWS and REST services*
>
>
>
> *“OWS and REST services are stateless and have no inherent awareness of
> “session”, so the authentication*
>
> *scheme for these services requires the client to supply credentials on
> every request. That said, “session integration”*
>
> *is supported, meaning that if a session already exists on the server
> (from a concurrent **authenticated*
>
> *web admin session**) it will be used for authentication. This scheme
> allows GeoServer to avoid the overhead*
>
> *of session creation for OWS and REST services.”*
>
> ----------------------------------------
>
>
>
> Is there a way to disable “session integration” for OGC services?
>
>
>
> --Steve
>
>
>
> *From:* andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] *On Behalf
> Of *Andrea Aime
> *Sent:* Saturday, August 09, 2014 1:07 AM
> *To:* Stephen Brooke
> *Cc:* geoserver-users@lists.sourceforge.net
> *Subject:* Re: [Geoserver-users] After period of GeoServer inactivity
> client making WMS request gets HTTP 404 Not Found (pink no image tiles)
>
>
>
> On Fri, Aug 8, 2014 at 10:38 PM, Stephen Brooke <
> sbro...@mdacorporation.com> wrote:
>
> I’m running GeoServer 2.5.1 with OpenLayers client making WMS requests and
> I have basic authentication turned on for all OGC services.
>
>
>
> After a period (say 30 minutes) of GeoServer inactivity due to client
> inactivity, if the client is then used to make a WMS request it receives
> HTTP 404 Not Found and I get the dreaded pink square tiles instead of my
> imagery tiles.  In the GeoServer log there are several warning log messages
> of the form:
>
>
>
> 08 Aug 20:23:03 WARN [servlet.PageNotFound] - No mapping found for HTTP
> request with URI [/geoserver/<workspace>/wms] in DispatcherServlet with
> name 'dispatcher'
>
>
>
>
>
> If I go to the GeoServer web admin console and login as administrator or
> simply refresh an existing timed-out session then the WMS requests work
> fine again.  Does anyone know what I need to do to get GeoServer to not do
> this?
>
>
>
> Session? As in HTTP one?
>
> OGC services should create a session to start with, unless you configured
> the security otherwise, or you are using the same browser
>
> to admin and do OGC requests at the same time.
>
>
>
> Is this your case?
>
>
>
> Can you provide more details on your setup?
>
>
>
> Cheers
>
> Andrea
>
>
>
> --
>
> ==
>
> GeoServer Professional Services from the experts! Visit
>
> http://goo.gl/NWWaa2 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
>
>
>
> -------------------------------------------------------
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


-- 
DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to