[GeoNetwork-devel] force sending credentials to geoserver REST api (#408)

Hi,

anyone having a strong opinion for/against https://github.com/geonetwork/core-geonetwork/issues/408 - ie someone using geonetwork against a geoserver that doesnt ask at all for auth to rest and accepts all requests, which could be the only usecase my fix would broke ? I'd like to move forward on this issue, and get it properly fixed (with exceptions correctly catched/propagated..)

--
Landry Breuil
Mouton a 5 pattes du CRAIG

Sounds good to me Landry.

I’ll do some testing Mapserver Rest API this week also.

Francois

···

2014-03-27 14:46 GMT+01:00 Landry Breuil <breuil@anonymised.com>:

Hi,

anyone having a strong opinion for/against
https://github.com/geonetwork/core-geonetwork/issues/408 - ie someone
using geonetwork against a geoserver that doesnt ask at all for auth to
rest and accepts all requests, which could be the only usecase my fix
would broke ? I’d like to move forward on this issue, and get it
properly fixed (with exceptions correctly catched/propagated…)


Landry Breuil
Mouton a 5 pattes du CRAIG



GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Landry,

probably a little OT (and for sure a lot late about this), but it may be
considered the use of an external library to interact with GeoServer.
We use and maintain this one:
   https://github.com/geosolutions-it/geoserver-manager
which already deals with geoserver authentication.

   Cheers,
   Emanuele

Alle 14:46:26 di Thursday 27 March 2014, Landry Breuil ha scritto:

Hi,

anyone having a strong opinion for/against
https://github.com/geonetwork/core-geonetwork/issues/408 - ie someone
using geonetwork against a geoserver that doesnt ask at all for auth to
rest and accepts all requests, which could be the only usecase my fix
would broke ? I'd like to move forward on this issue, and get it
properly fixed (with exceptions correctly catched/propagated..)

--

Our support, Your Success!
Visit http://opensdi.geo-solutions.it for more information.

Ing. Emanuele Tajariol
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 380 2116282

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Hi Francois,

Emanuele, do you know if the geoserver-manager could
talk with mapserver REST API (which mimic the GeoServer one).

Nope, we never tested it on mapserver.

I will be back on this if we manage to schedule some testing.

   Ciao,
   Emanuele

PS: Sorry for crossposting, bringing back the thread to the initial list.

Alle 15:34:48 di Monday 31 March 2014, Francois Prunayre ha scritto:

2014-03-31 15:25 GMT+02:00 Landry Breuil <breuil@anonymised.com>:
> On 03/31/14 11:47, Emanuele Tajariol wrote:
> > Hi Landry,
> >
> > probably a little OT (and for sure a lot late about this), but it may
> > be considered the use of an external library to interact with
> > GeoServer.
> >
> > We use and maintain this one:
> > https://github.com/geosolutions-it/geoserver-manager
> >
> > which already deals with geoserver authentication.
>
> Heh, nice..
>
> since i'm not the one who originally did the work, i'll defer to fxp if
> he wants to move to this for geoserver interaction... but the
> geopublisher feature in geonetwork can also work with mapserver through
> a geoserver-compatible rest API, so dunno if that'd cover all usecases.

The geopublisher feature was made quite long time ago in 2008 (
http://trac.osgeo.org/geonetwork/wiki/GeoServer_integration) and there was
no geoserver-manager. Emanuele, do you know if the geoserver-manager could
talk with mapserver REST API (which mimic the GeoServer one). I've no
objection for a move but I have no time to work on it.

Francois

> --
> Landry Breuil
> Mouton a 5 pattes du CRAIG
>
>
> -------------------------------------------------------------------------
> ----- _______________________________________________
> GeoNetwork-users-fr mailing list
> GeoNetwork-users-fr@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users-fr

--

Our support, Your Success!
Visit http://opensdi.geo-solutions.it for more information.

Ing. Emanuele Tajariol
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 380 2116282

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------