HTTP Digest Authentication
This plugin adds an additional layer of protection for the wp-login.php page using HTTP Digest Authentication with the PHP header() function. So it doesn’t require configuring web server files like .htaccess or .htdigest and works on all web hosting environments. Important: If you already have a plugin which does HTTP Authentication please deactivate it before activating this plugin. Similarly if you have configured your web server to do HTTP authentication on the wp-login.php file please remove it before using this plugin. If you are using FastCGI PHP this plugin may keep prompting for the credentials even if you enter the right pair, in this case use the following in your .htaccess file SetEnvIfNoCase ^Authorization$ "(.+)" PHP_AUTH_DIGEST=$1 Advantages of HTTP Digest Authentication Digest Authentication is very much safer than HTTP Basic Authentication whose credentials can be easily decoded with a base64 decoder. From Wikipedia on HTTP Basic Authentication: The BA (Basic Authentication) mechanism provides no confidentiality protection for the transmitted credentials. They are merely encoded with BASE64 in transit, but not encrypted or hashed in any way. Digest Authentication on the other hand uses MD5 on the credentials making it “one way” Uses server and client nonces to prevent replay attacks Features of the HTTP Digest Auth plugin Works using PHP header() function and doesn’t require modification of service config files (like .htaccess, nginx.conf etc) Supports HTTP credentials for each WordPress user Clears the HTTP Digest credentials when the user logs out of WordPress (more on this in the FAQ) Verifies if both the HTTP and WordPress credentials are of the same user (this is the default behavior and can be changed) Works on all major Web Servers (Tested on Apache, Nginx and Lighttpd) Plugin Behavior When this plugin is activated for the first time all WordPress users will have the following Digest credentials Username: Password: password This can be changed from Users > Your Profile. After activating this plugin for the first time you’ll be prompted for HTTP credentials when you logout Similarly if you change your HTTP username or password you’ll be prompted for this when you logout Available languages English Serbo-Croatian by Borisa Djuraskovic The HTTP Digest Authentication Plugin official homepage.
Top keywords
- http13×3.50%
- authentication10×2.70%
- credentials9×2.43%
- digest9×2.43%
- php6×1.62%
- digest authentication5×1.35%
- http digest5×1.35%
- web4×1.08%
- wordpress4×1.08%
- basic3×0.81%
- basic authentication3×0.81%
- htaccess3×0.81%
WP Cassify
If you’re happy with this plugin : As a reward for my efforts, I would like to receive T-shirts (or other goodies) as gifts from the universities or companies that use it. My size is L. Best regards. This Apereo CAS authentication plugin has no phpCas library dependency. This is not only an authentication plugin. You can build custom authorization rules according to cas user attributes populated. If user don’t exist in WordPress database, it can be created automatically. There are many features. You can customize everything. Website https://wpcassify.wordpress.com/ Development and release environment This plugin is now developed and tested from a github repository. You can find it here : https://github.com/WP-Cassify/wp-cassify-develop Don’t hesitate to contribute to this project. You can fork it and make pull requests ! Requirements Require at least PHP version 7.0 Require at least PHP CURL package Features included SLO (Single Log Out) support (thanks to dedotombo and me) Adding NCONTAINS operator (thanks to blandman) Fix bug on Gateway mode (autologin) (thanks to dedotombo again). Now it’s now necessary to hack theme files to fire it. Adding option logout on authentication failure to not disturb users Initialize PHP session at a later stage (on wp_loaded not on init) Adding some customs hooks and filters. Tested with Apereo CAS Server version 7.3.5 Compatible with CAS Protocol version 2 and 3 Automatic user creation if not exist in WordPress database. Synchronize WordPress User metas with CAS User attributes. Add support for multivaluate cas user fields. Now multivaluate fields can be serialized to be stored in custom WP User meta. Backup / Restore plugin configuration options settings You can choose CAS User attributes you want to populate. Then you can access them via PHP Session. Be careful, to access to CAS User Attributes from your theme file (from 1.8.4), use code below : wp_cassify_get_cas_user_datas() ); } ?> Set up WordPress Roles to User according to CAS User attributes. If plugin is network activated, you can define User Role Rule scope by blog id. Authorization rule editor. Compatible with WordPress Access Control Plugin. Manage URL White List to bypass CAS Authentication on certain pages. Much simpler bypass authentication with post method provided by Susan Boland (See online documentation). Create wordpress authentication form with redirect attribute like this (works only if URL bypass is enabled in settings) : true, 'remember' => true, 'redirect' => site_url( '/?wp_cassify_bypass=bypass' ), 'form_id' => 'loginform', 'id_username' => 'user_login', 'id_password' => 'user_pass', 'id_remember' => 'rememberme', 'id_submit' => 'wp-submit', 'label_username' => __( 'Username' ), 'label_password' => __( 'Password' ), 'label_remember' => __( 'Remember Me' ), 'label_log_in' => __( 'Log In' ), 'value_username' => '', 'value_remember' => false ); wp_login_form( $args ); ?> Receive email notifications when trigger is fired (after user account creation, after user login/logout). Define notifications rules based on user attributes values. Purge user roles before applying user role rules. Define user account expiration rules bases on CAS User attributes. Network activation allowed You can set Service Logout URL (Needs to have CAS Server with followServiceRedirects option configured). Add support for web application hosted behind a reverse proxy. (Thanks to franck86) Add custom hooks : wp_cassify_after_cas_authentication, wp_cassify_before_auth_user_wordpress, wp_cassify_before_redirect, wp_cassify_after_redirect. (See online documentation) Custom filter to perform custom cas server response parsing. Hook name : wp_cassify_custom_parsing_cas_xml_response (See online documentation) Custom shortcode to generate CAS login/logout link into your blog. (See online documentation) Debug settings, dump last xml cas server response. Detect if user has already authenticated by CAS from your public pages and perform auto-login with gateway mode Add ‘-IN’ and ‘-NOTIN’ operators to process array attributes values returned from CAS. When you have : $cas_user_datas['title'] = array( 'Student', 'Professor' ); Then you can use : (CAS{title} -IN "professor")