WordPress.org

Brasil

  • Temas
  • Plugins
  • Novidades
    • Documentação
    • Fóruns
  • Sobre
    • Participe da comunidade
    • Guias e diretrizes
  • Baixar o WordPress
Baixar o WordPress
WordPress.org

Plugin Directory

External Database Authentication Reloaded

  • Enviar um plugin
  • Meus favoritos
  • Acessar
  • Enviar um plugin
  • Meus favoritos
  • Acessar

Este plugin não foi testado com os 3 lançamentos principais mais recentes do WordPress. Ele pode não ser mais mantido ou suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

External Database Authentication Reloaded

Por Joshua Parker
Baixar
  • Detalhes
  • Avaliações
  • Instalação
  • Desenvolvimento
Suporte

Descrição

Please Note: When you update to version 1.2.1, you will need to re-enter the details on the settings page.

This External DB Authentication plugin allows the use of an external MySQL, PostgreSQL, MSSQL, Sybase, Oracle, or SQLite database for authentication into WordPress. It is required that you know the encryption method for the passwords stored in the external database. Password encryption methods include MD5, SHA1, plaintext, PHPass, or enter a custom hash/salt method. It disables password reset/retrieval and account creation within the WordPress system on the user-end, and it doesn’t allow updating from the WordPress end back into the external authentication source.

In addition to authentication, the plugin allows you to:

  • Choose additional fields, such as first name/last name and website, to be imported into WordPress.
  • Enter a custom message for users concerning logins.
  • Do user role checks from the external database: you can set the plugin to check from a specific role field and compare to a value to allow login to WordPress.

Capturas de tela

  • Plugin config screen
  • Example login warning message upon access to wp-login.php
  • Example “Lost my password” retrieval attempt

Instalação

  • Prepare your WP admin account on your external database: create an admin account in your external system.
  • Change “New User Default Role” in Settings->General, if desired, to whatever level of control you wish external authenticated users to have.
  • Upload external-db-auth-reloaded folder to the /wp-content/plugins/ directory
  • Activate the plugin through the ‘Plugins’ menu in WordPress
  • Enter your external database settings in Settings->External DB settings

Perguntas frequentes

How do I use the “Other” encryption method?

Sometimes you will need to use “Other” as an encryption method when all other methods do not meet your specific need. When you find yourself in this situation, you will need to add
your own custom code into the “Hash Code” input field. You have access to the following variables: $password2, $username, $password. $username and $password are the info needed from your external database.

Now let’s say for example I am using a system that combines the username and password and then hashes it with md5. In the “Hash Code” input field, I would need to enter the following custom code:

$password2 = md5($username.$password);
My admin account for WP doesn’t work anymore!

We’re authenticating externally, right? Make sure the admin account username in the external source, matches the admin username in WordPress. Once it’s in there you’ll be able to log in as admin with no problems. If you can’t do this, delete the plugin and it’ll restore access using your WP admin account.

Can I still create accounts within WordPress?

You could, but they don’t work properly as it’s only checking the external database for login accounts.

Can I update user information within WordPress?

No.

My external database’s passwords are hashed with a salt/datestamp/phases of the moon/etc

Choose “Other” as your encoding method, then enter the method you use in the “Other” textbox as PHP code. If it involves more than the username and password, though, you may need to modify the plugin source code.

I’m locked out!

Delete or rename the plugin; if it’s a DB connection-related error most likely you have the wrong connection, etc. information for the external database.

Avaliações

This is awesome

stevendbrady 10 abril, 2018
I used this plugin to authenticate my WordPress install (forum, trouble tickets, etc) to Midrub and it works perfectly.
Leia todas as 2 avaliações

Colaboradores e desenvolvedores

“External Database Authentication Reloaded” é um programa de código aberto. As seguintes pessoas contribuíram para este plugin.

Colaboradores
  • Joshua Parker

Traduzir o “External Database Authentication Reloaded” para seu idioma.

Interessado no desenvolvimento?

Navegue pelo código, consulte o repositório SVN ou assine o registro de desenvolvimento por RSS.

Registro de alterações

1.2.3 (2015-05-30)

  • Fixed existing external user check
  • Fixed error log path
  • Added SHA256 encryption method
  • Added password hash checking based on selected encryption method

1.2.2 (2015-05-29)

  • Updated code to support PHP version lower than 5.4.x
  • Added example of how to use “Other” encryption method under FAQ’s

1.2.1 (2015-05-28)

  • Added error logging; logs will be located in wp-content directory
  • You will need to re-enter your settings after you upgrade to this version
  • Now uses PDO for database connection
  • Now supports MySQL, MSSQL, PostgreSQL, Sybase, Oracle and SQLite databases out of the box
  • Plugin can now be translated into other languages

1.2.0 (2015-05-14)

  • Fixed mysqli database connection

1.1 (2013-01-15)

  • One setting wasn’t registered
  • Fixed issues with “Other” option encryption type
  • Added SQL query for “Other” option encryption type
  • Should now work with plaintext passwords

1.0 (2012-10-31)

  • Bug Fixes
  • Updated Code
  • Added the option to use PHPass as an encryption type

Meta

  • Versão 1.2.3
  • Última atualização 10 anos atrás
  • Instalações ativas 50+
  • Versão do WordPress 3.1 ou superior
  • Testado até 4.2.38
  • Idioma
    English (US)
  • Tags
    authenticationdatabaseloginMSSQLmysql
  • Visualização avançada

Classificações

5 de 5 estrelas.
  • 2 avaliações com 5 estrelas 5 estrelas 2
  • 0 avaliação com 4 estrela 4 estrelas 0
  • 0 avaliação com 3 estrela 3 estrelas 0
  • 0 avaliação com 2 estrela 2 estrelas 0
  • 0 avaliação com 1 estrela 1 estrela 0

Adicionar minha avaliação

Ver todas avaliações

Colaboradores

  • Joshua Parker

Suporte

Tem algo a dizer? Precisa de ajuda?

Ver fórum de suporte

Doar

Gostaria de contribuir para o desenvolvimento deste plugin?

Doe para este plugin

  • Sobre
  • Notícias
  • Hospedagem
  • Privacidade
  • Vitrine
  • Temas
  • Plugins
  • Padrões
  • Aprender
  • Suporte
  • Desenvolvedores
  • WordPress.tv ↗
  • Participar
  • Eventos
  • Doar ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Brasil

  • Acesse nossa conta no X (antigo Twitter)
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Acesse nossa página no Facebook
  • Acesse nossa conta no Instagram
  • Acesse nossa conta no LinkedIn
  • Visit our TikTok account
  • Acesse nosso canal no YouTube
  • Visit our Tumblr account
Código é poesia.