Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication plugin to convert foreign passwords #8

Open
fxstein opened this issue Jul 8, 2011 · 0 comments
Open

Authentication plugin to convert foreign passwords #8

fxstein opened this issue Jul 8, 2011 · 0 comments

Comments

@fxstein
Copy link
Member

fxstein commented Jul 8, 2011

As part of the migration of non Joomla base forums we need to be able to migrate the passwords from e.g. phpBB format to Joomla format. Since the reverse engineering of passwords is not possible, we require an authentication plugin to intercept the password entered by a user.

If that user is in our migration table and it contains a migration password, we test the entered password aginst the migration password with logic from e.g phpBB3, if that fails we test phpBB2 (different format). If both fail, we abort the login attempt.

If we find a match, we know the right user and password combination has been entered. As such we store the entered password in the Joomla user table (properly encrypted) and remove the migration password from the migration table.

Next time the same user comes to authenticate, the migration table no longer contains a password and we go straight to Joomla authentication.

The code is based on Joomla 1.5 and 1.6 authentication plugins.

fxstein added a commit to fxstein/com_kunenaimporter-1.6 that referenced this issue Jul 8, 2011
mahagr added a commit that referenced this issue Jul 8, 2011
+ [#8] Basic skelleton for KunenaImporter authentication plugin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant