<div dir="ltr">Where GeoServer is exposed?<div><br></div><div><a href="http://localhost/geoserver/">http://localhost/geoserver/</a> ? Or something else?</div><div><br></div><div>Make sure you have all the redirect uris configured on GeoNode Admin</div><div><br></div><div><img src="cid:ii_16073b4410ce91ad" alt="Inline image 1" width="562" height="160"><br></div><div><br></div><div>And also on GeoServer geonode-oauth2 plugin make sure all the addresses point to the goenode base (in your case should be <a href="http://localhost">http://localhost</a> instead of <a href="http://localhost:8000">http://localhost:8000</a>) except for the redirect uri which must be the GeoServer endpoint.</div><div><br></div><div><br></div><div>However if you can login by clicking the geonode button on GeoServer GUI, the configuration is good.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><span><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Regards,</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Alessio Fabiani</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">==</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">GeoServer Professional Services from the experts! Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">==</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Ing. Alessio Fabiani</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">@alfa7691</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Founder/Technical Lead</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">GeoSolutions S.A.S.</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Via di Montramito 3/A</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">55054  Massarosa (LU)</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Italy</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">phone: +39 0584 962313</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">fax:     +39 0584 1660272</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">mob:   +39 331 6233686</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">-------------------------------------------------------</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">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.</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"> </span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">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.</span></p></span></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Dec 20, 2017 at 12:15 PM, Peter Marlow <span dir="ltr"><<a href="mailto:Peter.Marlow@scisys.co.uk" target="_blank">Peter.Marlow@scisys.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-GB" link="blue" vlink="purple">
<div class="m_-2303073580123035679WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I’ve restarted Apache and Tomcat.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I’ve taken a tcpdump to see the connections going from geoserver to geonode<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">10:55:53.913021 IP localhost.55298 > localhost.http: Flags [P.], seq 206:432, ack 361, win 350, options [nop,nop,TS val 10620058 ecr 10620058], length 226:
 HTTP: GET /account/login/?next=/api/<wbr>roles HTTP/1.1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">10:55:53.951452 IP localhost.http > localhost.55298: Flags [.], ack 432, win 359, options [nop,nop,TS val 10620068 ecr 10620058], length 0<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">10:55:54.004726 IP localhost.http > localhost.55298: Flags [P.], seq 361:5375, ack 432, win 359, options [nop,nop,TS val 10620081 ecr 10620058], length 5014:
 HTTP: HTTP/1.1 200 OK<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">10:55:54.004807 IP localhost.55298 > localhost.http: Flags [.], ack 5375, win 1373, options [nop,nop,TS val 10620081 ecr 10620081], length 0<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">10:55:54.007690 IP localhost.55298 > localhost.http: Flags [P.], seq 432:637, ack 5375, win 1373, options [nop,nop,TS val 10620082 ecr 10620081], length 205:
 HTTP: GET /api/roles HTTP/1.1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">10:55:54.007699 IP localhost.http > localhost.55298: Flags [.], ack 637, win 367, options [nop,nop,TS val 10620082 ecr 10620082], length 0<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">10:55:54.012633 IP localhost.http > localhost.55298: Flags [P.], seq 5375:5734, ack 637, win 367, options [nop,nop,TS val 10620083 ecr 10620082], length 359:
 HTTP: HTTP/1.1 302 FOUND<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">10:55:54.013317 IP localhost.55298 > localhost.http: Flags [P.], seq 637:863, ack 5734, win 1452, options [nop,nop,TS val 10620083 ecr 10620083], length 226:
 HTTP: GET /account/login/?next=/api/<wbr>roles HTTP/1.1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">It looks like it is calling out to geonode ok but is being redirected to the login page…? Suggests the authentication between geoserver and geonode is incorrect.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I’ve setup the Client ID and Client Secret within GeoNode and GeoServer as described in the tutorial though -
<a href="http://docs.geonode.org/en/master/tutorials/admin/geoserver_geonode_security/" target="_blank">
http://docs.geonode.org/en/<wbr>master/tutorials/admin/<wbr>geoserver_geonode_security/</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Are there any other checks I can perform to determine whether geoserver is passing the correct security details to geonode?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Pete<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Alessio Fabiani [mailto:<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-<wbr>solutions.it</a>]
<br>
<b>Sent:</b> 20 December 2017 10:37<br>
<b>To:</b> Peter Marlow<br>
<b>Cc:</b> Alessio Fabiani; <a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><span class=""><br>
<b>Subject:</b> Re: [GeoNode-devel] geonode REST role service - Adminstrator role dropdown empty<u></u><u></u></span></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Nope the geonode address is not a problem, you can use whatever is accessible.<u></u><u></u></p><div><div class="h5">
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Did you also restarted GeoServer / Tomcat ?<u></u><u></u></p>
</div>
</div></div></div>
<div><div><div class="h5">
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Arial","sans-serif"">Regards,</span><span style="font-size:9.5pt"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Arial","sans-serif"">Alessio Fabiani</span><span style="font-size:9.5pt"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Arial","sans-serif"">==<br>
GeoServer Professional Services from the experts! Visit <a href="http://goo.gl/it488V" target="_blank">
http://goo.gl/it488V</a> for more information.<br>
==<br>
<br>
Ing. Alessio Fabiani</span><span style="font-size:9.5pt"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Arial","sans-serif"">@alfa7691<br>
Founder/Technical Lead</span><span style="font-size:9.5pt"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Arial","sans-serif""><br>
GeoSolutions S.A.S.<br>
<a href="https://maps.google.com/?q=Via+di+Montramito+3/A+%0D+55054+%C2%A0Massarosa&entry=gmail&source=g">Via di Montramito 3/A</a><br>
55054  <a href="https://maps.google.com/?q=Via+di+Montramito+3/A+%0D+55054+%C2%A0Massarosa&entry=gmail&source=g">Massarosa</a> (LU)<br>
Italy<br>
phone: <a href="tel:0584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a><br>
fax:     <a href="tel:0584%20166%200272" value="+3905841660272" target="_blank">+39 0584 1660272</a><br>
mob:   <a href="tel:331%20623%203686" value="+393316233686" target="_blank">+39 331 6233686</a><br>
<br>
<a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a><br>
<a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/<wbr>geosolutions_it</a><br>
<br>
------------------------------<wbr>-------------------------</span><span style="font-size:9.5pt"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Arial","sans-serif"">AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</span><span style="font-size:9.5pt"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Arial","sans-serif"">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.</span><span style="font-size:9.5pt"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Arial","sans-serif"">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.</span><span style="font-size:9.5pt"><u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div></div><div><div><div class="h5">
<p class="MsoNormal">On Wed, Dec 20, 2017 at 11:32 AM, Peter Marlow <<a href="mailto:Peter.Marlow@scisys.co.uk" target="_blank">Peter.Marlow@scisys.co.uk</a>> wrote:<u></u><u></u></p>
</div></div><div>
<div><div><div class="h5">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Alessio,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks for the reply!</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">It looks like the /api endpoint on my geonode is accessible at
<a href="http://localhost/" target="_blank">http://localhost/</a> and not at <a href="http://localhost:8000/" target="_blank">
http://localhost:8000/</a>. Is this a problem?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I’ve configured the base URL of the Role Service to be just
<a href="http://localhost/" target="_blank">http://localhost/</a> but I still don’t see the ROLE_ADMIN user in the dropdowns.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">GeoNode has a superuser configured with the username ‘admin’, it doesn’t have any groups though,
 do I need to create a group?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">If I open up port 8000 in my apache2 config how would I go about changing the GeoNode api to be on
 port 8000? (is that actually necessary?)</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Pete
</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
</div></div><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Alessio
 Fabiani [mailto:<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-<wbr>solutionsit</a>]
<br></span></p><div><div class="h5">
<b>Sent:</b> 20 December 2017 09:18<br>
<b>To:</b> Peter Marlow<br>
<b>Cc:</b> <a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [GeoNode-devel] geonode REST role service - Adminstrator role dropdown empty</div></div><u></u><u></u><p></p><div><div class="h5">
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<div>
<p class="MsoNormal">the roles are taken from GeoNode.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">You need to be sure that:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">1. GeoServer can reach GeoNode<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">2. the base url of the role service is correctly pointing to GeoNode<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">3. GeoNode has either an admin user configured and groups<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">If still not working you can try to do some curl requests to GeoNode and see if it is correctly responding.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">curl -X GET "<a href="http://localhost:8000/api/roles" target="_blank">http://localhost:8000/api/<wbr>roles</a>"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Arial","sans-serif"">Regards,</span><u></u><u></u></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Arial","sans-serif"">Alessio Fabiani</span><u></u><u></u></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Arial","sans-serif"">==<br>
GeoServer Professional Services from the experts! Visit <a href="http://goo.gl/it488V" target="_blank">
http://goo.gl/it488V</a> for more information.<br>
==<br>
<br>
Ing. Alessio Fabiani</span><u></u><u></u></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Arial","sans-serif"">@alfa7691<br>
Founder/Technical Lead</span><u></u><u></u></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Arial","sans-serif""><br>
GeoSolutions S.A.S.<br>
<a href="https://maps.google.com/?q=Via+di+Montramito+3/A+%0D+55054+%C2%A0Massarosa&entry=gmail&source=g" target="_blank">Via di Montramito 3/A</a><br>
55054  <a href="https://maps.google.com/?q=Via+di+Montramito+3/A+%0D+55054+%C2%A0Massarosa&entry=gmail&source=g" target="_blank">Massarosa</a> (LU)<br>
Italy<br>
phone: <a href="tel:0584%20962313" target="_blank">+39 0584 962313</a><br>
fax:     <a href="tel:0584%20166%200272" target="_blank">+39 0584 1660272</a><br>
mob:   <a href="tel:331%20623%203686" target="_blank">+39 331 6233686</a><br>
<br>
<a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a><br>
<a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/<wbr>geosolutions_it</a><br>
<br>
------------------------------<wbr>-------------------------</span><u></u><u></u></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Arial","sans-serif"">AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</span><u></u><u></u></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Arial","sans-serif"">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.</span><u></u><u></u></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Arial","sans-serif"">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.</span><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">On Tue, Dec 19, 2017 at 6:14 PM, Peter Marlow <<a href="mailto:Peter.Marlow@scisys.co.uk" target="_blank">Peter.Marlow@scisys.co.uk</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Hi all,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">I’m configuring geonode/geoserver security using the tutorial here -
<a href="http://docs.geonode.org/en/master/tutorials/admin/geoserver_geonode_security/" target="_blank">
http://docs.geonode.org/en/<wbr>master/tutorials/admin/<wbr>geoserver_geonode_security/</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">The problem I have is that when I create the ‘geonode REST role service’ both the ‘Administrator role’ and ‘Group
 administrator role’ dropdowns are empty – the tutorial suggests they should contain the value ROLE_ADMIN.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Any ideas where this ROLE_ADMIN should be configured in order to make it available in the dropdowns?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">GEOSERVER VERSION – 2.12-SNAPSHOT</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">GEONODE VERSION – 2.6.3</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Thanks,<br>
Pete</span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<p id="m_-2303073580123035679m_2992229374707269147m_3014252024943521727gfidisc.scisys.co.uk"><span style="font-family:"Tahoma","sans-serif";color:blue"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:gray">SCISYS UK Limited. Registered in England and Wales No. 4373530.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:gray">Registered Office: Methuen Park, Chippenham, Wiltshire SN14 0GB, UK.</span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span class="m_-2303073580123035679m2992229374707269147m3014252024943521727400184714-12042007"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:green">Before printing, </span></span><span class="m_-2303073580123035679m2992229374707269147m3014252024943521727296245114-12042007"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:green">please
</span></span><span class="m_-2303073580123035679m2992229374707269147m3014252024943521727400184714-12042007"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:green">think about the environment</span></span><span class="m_-2303073580123035679m2992229374707269147m3014252024943521727296245114-12042007"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:green">.</span></span><u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt" id="m_-2303073580123035679m_2992229374707269147m_3014252024943521727gfidisc.scisys.co.uk">
<br>
______________________________<wbr>_________________<br>
geonode-devel mailing list<br>
<a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-devel" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geonode-devel</a><u></u><u></u></p>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div></div></div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>

</blockquote></div><br></div>