<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Naresh,<div><br></div><div>at the moment the only supported mechanism for generic external authentication is through the oauth2 protocol, so you should partially follow this part [1] of the documentation. Anyway if I understand well what you want to be able to achieve it could not be sufficient at all for a sane SSO architecture.</div><div><br></div><div>If you want the oauth2 provider as an external third-party system - I guess by relying to an LDAP directory server for instance - then it would be convenient to replace the django-oauth-toolkit app with a django oauth2 client like this [2] in order to make tokens being consumed by geonode and geoserver.</div><div><br></div><div>Another approach would be to develop a custom authentication middleware specifically for you SSO token like the django-webgate [3], btw WebGate is policy enforcement point for the access management from Oracle.</div><div><br></div><div>Hope this clarifies</div><div> </div><div>[1] <a href="http://docs.geonode.org/en/master/tutorials/admin/geoserver_geonode_security/index.html">http://docs.geonode.org/en/master/tutorials/admin/geoserver_geonode_security/index.html</a></div><div>[2] <a href="https://github.com/pennersr/django-allauth">https://github.com/pennersr/django-allauth</a></div><div>[3] <a href="https://github.com/boundlessgeo/django-webgate">https://github.com/boundlessgeo/django-webgate</a></div><div><br><div><div>Il giorno 13/dic/2016, alle ore 16:12, Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com">simone.dalmasso@gmail.com</a>> ha scritto:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">You will be able to assign permissions to the migrated users, yes.<div><br></div><div>For loading the users, just copy the table or from and existing table, for the password encryption see the django docs <a href="https://docs.djangoproject.com/en/1.8/topics/auth/passwords/#how-django-stores-passwords">https://docs.djangoproject.com/en/1.8/topics/auth/passwords/#how-django-stores-passwords</a>.</div><div><br></div><div>I did not understand our last question.. Do you want GeoNode to use a different authentication database? I that case it might be possible but you'll have to dig more into the django docs.</div><div><br></div><div>Hope this helps</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-12-13 11:59 GMT+01:00 Naresh N <span dir="ltr"><<a href="mailto:naresh919@gmail.com" target="_blank">naresh919@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Simone,<div><br></div><div> Thanks a lot for quick response. Please help in following</div><div><br></div><div>  1. If we insert our existing user database using some code to people_profile, will  all the functionalities like sharing,permissions and other activities will work as expected ( like if the user registered with GeoNode Register page).</div><div><br></div><div>2.   Inserted one row into People_profile for testing by using following syntax.</div><div><div>INSERT INTO people_profile(</div><div>            id, password,  is_superuser, last_login,username,first_<wbr>name,last_name,  email,  is_active,is_staff,date_<wbr>joined)</div><div>    VALUES (5,md5('bhuvan'),FALSE,now(),'<wbr>NARESHtest','nagammalle','<wbr>naresh','<a href="mailto:nareshkgp@yahoo.com" target="_blank">nareshkgp@yahoo.com</a>',<wbr>TRUE,FALSE,now());</div></div><div><br></div><div> Password field filled with md5 option. Is it correct? . After this I have tried to logging with the details given in above query it is showing wrong usename/password.  what algorithm is used for while storing passwords in the database?<br></div><div><br></div><div>3. Is it possible to link our existing Sign-in, Sign-up pages in GeoNode environment.  When ever user will sign -in/Sign -up authentication will be happen separately and some authorized code can be passed to GeoNode setup for further functionality mean for registered user list can be saved in other existing our database(not the default database which will come with GeoNode).</div><div><br></div><div><br></div><div>Thanks,</div><div>Naresh</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 13, 2016 at 1:27 PM, Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, <div><br></div><div>you could copy the people_profile table from one database to the other.</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_733475408370545581h5">2016-12-13 7:53 GMT+01:00 Naresh N <span dir="ltr"><<a href="mailto:naresh919@gmail.com" target="_blank">naresh919@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_733475408370545581h5"><div dir="ltr"><div>Dear GeoNode Users,<br>  <br></div><div>We have multiple web gis applications and using single-sign on method for logins.We have around 5 lakh registered users for our portal. We have deployed Geonode in our Environment.How do we make all existing our earlier registered users should able login GeoNode without registering again.  Please guide me to do the task.  Please let me know  more information required to understand the task.<br><br></div><div>Thanks&Regards,<br></div><div>Naresh<br></div></div>
<br></div></div>______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman<wbr>/listinfo/geonode-users</a><br>
<br></blockquote></div><span class="m_733475408370545581HOEnZb"><font color="#888888"><br><br clear="all"><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_733475408370545581m_-3107228101981324533gmail_signature" data-smartmail="gmail_signature">Simone </div>
</font></span></font></span></div>
</blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Simone </div>
</div>
_______________________________________________<br>geonode-users mailing list<br><a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/geonode-users<br></blockquote></div><br></div></body></html>