[GeoNode-users] Use of Existing registered users in Geonode

Naresh N naresh919 at gmail.com
Wed Dec 14 00:37:09 PST 2016


Dear Simone and Francesco,

  Thanks a lot for the response. I will go thorough the links.

Thanks,
Naresh

On Tue, Dec 13, 2016 at 9:49 PM, Francesco Bartoli <xbartolone at gmail.com>
wrote:

> Naresh,
>
> 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.
>
> 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.
>
> 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.
>
> Hope this clarifies
>
> [1] http://docs.geonode.org/en/master/tutorials/admin/
> geoserver_geonode_security/index.html
> [2] https://github.com/pennersr/django-allauth
> [3] https://github.com/boundlessgeo/django-webgate
>
> Il giorno 13/dic/2016, alle ore 16:12, Simone Dalmasso <
> simone.dalmasso at gmail.com> ha scritto:
>
> You will be able to assign permissions to the migrated users, yes.
>
> For loading the users, just copy the table or from and existing table, for
> the password encryption see the django docs https://docs.
> djangoproject.com/en/1.8/topics/auth/passwords/#how-
> django-stores-passwords.
>
> 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.
>
> Hope this helps
>
> 2016-12-13 11:59 GMT+01:00 Naresh N <naresh919 at gmail.com>:
>
>> Hi Simone,
>>
>>  Thanks a lot for quick response. Please help in following
>>
>>   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).
>>
>> 2.   Inserted one row into People_profile for testing by using following
>> syntax.
>> INSERT INTO people_profile(
>>             id, password,  is_superuser, last_login,username,first_name,last_name,
>>  email,  is_active,is_staff,date_joined)
>>     VALUES (5,md5('bhuvan'),FALSE,now(),'NARESHtest','nagammalle','nare
>> sh','nareshkgp at yahoo.com',TRUE,FALSE,now());
>>
>>  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?
>>
>> 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).
>>
>>
>> Thanks,
>> Naresh
>>
>>
>>
>> On Tue, Dec 13, 2016 at 1:27 PM, Simone Dalmasso <
>> simone.dalmasso at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> you could copy the people_profile table from one database to the other.
>>>
>>> 2016-12-13 7:53 GMT+01:00 Naresh N <naresh919 at gmail.com>:
>>>
>>>> Dear GeoNode Users,
>>>>
>>>> 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.
>>>>
>>>> Thanks&Regards,
>>>> Naresh
>>>>
>>>> _______________________________________________
>>>> geonode-users mailing list
>>>> geonode-users at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/geonode-users
>>>>
>>>>
>>>
>>>
>>> --
>>> Simone
>>>
>>
>>
>
>
> --
> Simone
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20161214/35b4b3fe/attachment.html>


More information about the geonode-users mailing list