[GeoNode-users] Recurring User 'None' Error Geofence/Geoserver

Alessio Fabiani alessio.fabiani at geo-solutions.it
Mon Oct 15 08:47:39 PDT 2018


>
> Just one more question then, for WMS/WCS/WFS access to password protected
> layers; geonode credentials will not allow access to these layers? If so,
> then I will just manage access via geofence.


Yes, you can use some proxies that GeoNode provides to you

    # OWS Endpoints
    url(r'^ows', views.geoserver_proxy, dict(proxy_path='/gs/ows',
                                             downstream_path='ows'),
name='ows_endpoint'),
    url(r'^wms', views.geoserver_protected_proxy, dict(proxy_path='/gs/wms',

 downstream_path='wms'), name='wms_endpoint'),
    url(r'^wfs', views.geoserver_protected_proxy, dict(proxy_path='/gs/wfs',

 downstream_path='wfs'), name='wfs_endpoint'),
    url(r'^wcs', views.geoserver_protected_proxy, dict(proxy_path='/gs/wcs',

 downstream_path='wcs'), name='wcs_endpoint'),
    url(r'^wps', views.geoserver_proxy, dict(proxy_path='/gs/wps',
                                             downstream_path='wps'),
name='wps_endpoint'),

Basically:


   - http://<geonode_host>/gs/ows  allows you to access all the OWS
   endpoints (WMS/WFS/WCS/WPS) as anonymous user (no basic auth will be
   required)
   - http://<geonode_host>/gs/{wms,wfs,wcs} allow you to access through
   basic auth by using GeoNode users

Otherwise you will need to create internal users on GeoServer, but this is
not advisable.

-- 

==

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

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20181015/ec4a6698/attachment.html>


More information about the geonode-users mailing list