How to verify a user's password?

Discuss about Group-Office development here

Moderator: Developers

User avatar
Mr.Magoo
Posts: 38
Joined: Thu May 14, 2009 5:45 pm

How to verify a user's password?

Postby Mr.Magoo » Mon Jul 13, 2009 9:51 am

I'm working on a project where I attempt to integrate an existing application in GO3.
The application has it's own user database for authentication.
However, I want to centralize authentication for both apps in GO3.
I do this in the background, creating a sort-of single-signon experience for the user.

Up till now, I'm able to authenticate the entered username against the GO3 database.
The entered password is another story, because passwords in GO3 are stored encoded in the database.
So, in order to determine if the correct password is entered, I would minimally have to encode the
entered password the same way GO3 does, and then compare the encoded result with the stored
password in the user database. If they match, I have an authenticated user.

Question is, how is the user's password encoded in GO3?

Anyone?

Mr.Magoo
"People, let's do it to them, before they do it to us!”
...Hillstreet Blues
mschering
Site Admin
Site Admin
Posts: 8284
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch
Contact:

Re: How to verify a user's password?

Postby mschering » Mon Jul 13, 2009 12:34 pm

it's md5 encoded.
Best regards,

Merijn Schering
Intermesh
User avatar
Mr.Magoo
Posts: 38
Joined: Thu May 14, 2009 5:45 pm

Re: How to verify a user's password?

Postby Mr.Magoo » Mon Jul 13, 2009 1:10 pm

Cool.

Mr.Magoo
"People, let's do it to them, before they do it to us!”
...Hillstreet Blues

Who is online

Users browsing this forum: No registered users and 1 guest

cron