WFS search & authkey module

415 views
Skip to first unread message

Evgenii Rosсa

unread,
Feb 14, 2018, 6:45:36 AM2/14/18
to mapstore-developers
Dear all.
I would like to know, how to use wfs seach with authkey module.
Now I get this error:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<ows:Exception exceptionCode="MissingParameterValue">
<ows:ExceptionText>
The query should specify either typeName, featureId filter, or a stored query id
</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

If access for wfs layer/workspace is granted to any role, then all is working fine.
Regards,
Evghenii

Lorenzo Natali

unread,
Feb 21, 2018, 3:27:18 AM2/21/18
to mapstore-...@googlegroups.com
Hi,
Sorry for the late response.
This error seems doesn't seem to be related to authkey but seems more like an issue due to the wrong request, probably because something is missing in WFS Search configuration. 
Can you please share the full request that originated this error and the configurations you used?



--
You received this message because you are subscribed to the Google Groups "mapstore-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-developers+unsub...@googlegroups.com.
To post to this group, send email to mapstore-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/mapstore-developers.
For more options, visit https://groups.google.com/d/optout.



--

Regards,
Lorenzo Natali
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==

Dott. Ing. Lorenzo Natali
Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
fax:      +39 0584 1660272


-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
 
The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

Message has been deleted

Evgenii Rosсa

unread,
Feb 26, 2018, 2:30:56 AM2/26/18
to mapstore-developers
Hi Lorenzo.

I think problem is in mapstore authkey configuration.
I just sent my local config file and geoserver security directory to Mauro.

Message has been deleted

Lorenzo Natali

unread,
Feb 28, 2018, 3:21:19 AM2/28/18
to mapstore-...@googlegroups.com

Hi,
Thank you for sharing your solutions.


2018-02-26 8:26 GMT+01:00 Evgenii Rosсa <iting...@gmail.com>:
I think problem is in mapstore authkey configuration.
I just sent my local config file and geoserver security directory to Mauro.

среда, 21 февраля 2018 г., 10:27:18 UTC+2 пользователь Lorenzo Natali написал:
Hi,
Sorry for the late response.
This error seems doesn't seem to be related to authkey but seems more like an issue due to the wrong request, probably because something is missing in WFS Search configuration. 
Can you please share the full request that originated this error and the configurations you used?


2018-02-14 12:45 GMT+01:00 Evgenii Rosсa <iting...@gmail.com>:
Dear all.
I would like to know, how to use wfs seach with authkey module.
Now I get this error:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<ows:Exception exceptionCode="MissingParameterValue">
<ows:ExceptionText>
The query should specify either typeName, featureId filter, or a stored query id
</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

If access for wfs layer/workspace is granted to any role, then all is working fine.
Regards,
Evghenii

--
You received this message because you are subscribed to the Google Groups "mapstore-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-developers+unsubscribe...@googlegroups.com.
To post to this group, send email to mapstore-...@googlegroups.com.

Evgenii Rosсa

unread,
Feb 28, 2018, 3:48:37 AM2/28/18
to mapstore-developers
Solution of my problem was

The GeoServer authkey module must be configured to use the webservice authentication key mapper to work with mapstore.

The web service url, if mapstore2 is running on a local tomcat on port 8080 is:


Immagine incorporata 1

Lorenzo Natali

unread,
Feb 28, 2018, 5:43:13 AM2/28/18
to mapstore-...@googlegroups.com
Many Thanks also for this additional information.

--

Muhammad Abnan

unread,
May 18, 2020, 6:56:17 PM5/18/20
to mapstore-developers
Hi Evgenii Rosсa

Could you please guide me , how can i impletment Auth key in Geoserver..
I want to share wfs service to other web application using Auth key from geoserver ..

Could u guide 

Mauro Bartolomeoli

unread,
May 19, 2020, 2:07:20 AM5/19/20
to mapstore-...@googlegroups.com
Good morning Muhammad,
did you try looking at the GeoServer authkey docs here: https://docs.geoserver.org/stable/en/user/community/authkey/index.html ?

Can I ask which kind of clients will use GeoServer through the authkey authentication? This is very important to understand how you would implement authkey.
Mauro



--
You received this message because you are subscribed to the Google Groups "mapstore-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-develo...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/mapstore-developers/aa72f0f2-56b7-4376-b71c-e546ed2a3d36%40googlegroups.com.


--

Regards,

Mauro Bartolomeoli

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==

Dott. Mauro Bartolomeoli
@mauro_bart
Technical Lead



GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 1660272

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

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

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

Muhammad Abnan

unread,
May 19, 2020, 4:42:07 AM5/19/20
to mapstore-...@googlegroups.com
Thanks for the reply
You mean clients 
In which Web application this Auth key will be used 

Sent from my iPhone

Evghenii Rosсa

unread,
May 19, 2020, 5:36:25 AM5/19/20
to mapstore-...@googlegroups.com
Hi Muhammad,



вт, 19 мая 2020 г., 1:56 Muhammad Abnan <abna...@gmail.com>:
--
You received this message because you are subscribed to a topic in the Google Groups "mapstore-developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mapstore-developers/S2Z1MTY8LB8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mapstore-develo...@googlegroups.com.

Muhammad Abnan

unread,
May 19, 2020, 4:35:59 PM5/19/20
to mapstore-...@googlegroups.com
Hi Evgenii Rosсa  

Thanks for the reply..

I have attached the document where i was stucked and my concern mainly on " Creating/Generating WFS service from Geoserver and then use it through user name , Password and also via APi..

I have successfully Implemented with username and password but Im stucked in API(If i share this APi there wont be username and Password )

Your Guidance much appreciated

--------------------------------------------------------------------------------------------------------------------------------------------------
M.A. ABNAN YAZDANI
GEOMATICS & CIVIL ENGINEER
Skype  :  muhammad_madina
| Jeddah | Saudi Arabia.



    You received this message because you are subscribed to the Google Groups "mapstore-developers" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-develo...@googlegroups.com.
    To view this discussion on the web, visit https://groups.google.com/d/msgid/mapstore-developers/CALDqsaBgy%2Bq2z8f%3DG41k8%3Dvp_R5RyyGyj%3D-YbnEjv1wv0c3uTQ%40mail.gmail.com.
    Security.pdf

    Mauro Bartolomeoli

    unread,
    May 29, 2020, 2:45:39 AM5/29/20
    to mapstore-...@googlegroups.com
    Good morning Muhammad.
    First question: are you going to use MapStore as a client? Because this is a MapStore centered mailing list.
    If you want to ask for help on GeoServer, not related to MapStore integration I would suggest asking on the GeoServer mailing lists where more people would be able to answer.
    For MapStore integration using API, the documentation Evgenii sent is the place to start.

    If you follow those instructions they explain how to configure the GeoServer authkey module so that authentication is made against MapStore users database.
    If something is not clear on that document, please let me know, I would be glad to integrate what's missing or not clear.

    Mauro




    --

    Regards,

    Mauro Bartolomeoli

    ==
    GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
    ==

    Dott. Mauro Bartolomeoli
    @mauro_bart
    Technical Lead

    GeoSolutions S.A.S.
    Via di Montramito 3/A
    55054  Massarosa (LU)
    Italy

    phone: +39 0584 962313
    fax:      +39 0584 1660272

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

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

    Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

    Reply all
    Reply to author
    Forward
    0 new messages