NOTICE:
Bellevue College has moved in a different direction for SSO and is no longer actively working on this repository. If you are looking for a CAS solution for WordPress, try the following:
=== Fork: wpCAS-with-LDAP ===
This project was forked from http://wordpress.org/support/plugin/wpcas-w-ldap which appears to have been abandoned. We've fixed the issue discussed here
http://wordpress.org/support/topic/fix-for-role-reset
and are now sharing with the community in the hopes that further fixes, improvements and development can continue.
(The remainder of this file is the contents of the previous project.)
=== wpCAS-w-LDAP === Contributors: yianniy Tags: cas, phpcas, wpCAS-w-LDAP, central authentication service, authentication, auth, ldap, lightweight directory access protocol Requires at least: 2.7 Tested up to: 2.9.2 Stable tag: trunk
Description: Plugin to integrate WordPress or WordPressMU with existing CAS single sign-on architectures and LDAP for grabbing user information.
== Description ==
wpCAS-w-LDAP allows you to use your own CAS architecture to authenticate users in your Wordpress blog. It also allows you to configure an LDAP connection to get user information for user not already members of your WordPress installation.
Based largely on wpCAS by Casey Bisson, which was largely based on Stephen Schwink's CAS Authentication plugin.
The Central Authentication Service (CAS) is a single sign-on protocol for the web. Its purpose is to permit a user to log into multiple applications simultaneously and automatically. It also allows untrusted web applications to authenticate users without gaining access to a user's security credentials, such as a password. The name CAS also refers to a software package that implements this protocol.
Users who attempt to login to WordPress are redirected to the central CAS sign-on screen. After the user's credentials are verified, s/he is then redirected back to the WordPress site. If the CAS username matches the WordPress username, the user is recognized as valid and allowed access.
Authorization of that user's capabilities is based on native WordPress settings and functions. CAS only authenticates that the user is who s/he claims to be.
If the CAS user does not have an account in the WordPress site, depending on the plugin's settings, the user is either
LDAP is included as an option for getting user information when they are being added to the database. If LDAP is available on your installation of PHP, you will be given the option of configuring it for this purpose.
The Lightweight Directory Access Protocol, or LDAP, is an application protocol for querying and modifying directory services running over TCP/IP.
== Installation ==
wp-content/plugins/
directory and activate it.wpcasldap-conf.php
file.= wpcasldap-conf.php =
wpCAS-w-LDAP can be configured either via the settings page in the WordPress dashboard, or via a configuration file. See wpcasldap-conf-sample.php
for an example. If a config file is used, it overrides any settings that might have been made via the settings page and configured portion of that page are hidden.
Use of wpcasldap-conf.php
is recommended for the CAS and LDAP portions of an WordPressMU installations, as doing so hides the settings menu from users. The option to use LDAP, add users, and default role can be left to blog administrators.
== Frequently Asked Questions ==
= What version of phpCAS should I use? = wpCAS-w-LDAP has been tested with phpCAS version 1.0.1.
= Where do I get phpCAS = http://www.ja-sig.org/wiki/display/CASC/phpCAS
= How's it work? = Users who attempt to login to WordPress are redirected to the central CAS sign-on screen. After the user's credentials are verified, s/he is then redirected back to the WordPress site. If the CAS username matches the WordPress username, the user is recognized as valid and allowed access. If the CAS username does not exist in WordPress, you can define a function that could provision the user in the site.
= What's the relationship between LDAP and CAS? = There is none.
= What if LDAP is not installed on my server? = wpCAS-w-LDAP will ignore attempts to use LDAP and will essentially work just like wpCAS by Casey Bisson.
= Doesn't this already exist? = wpCAS-w-LDAP replicates the functionality of wpCAS by Casey Bisson. It adds LDAP functionality to his original code. I created wpCAS-w-LDAP so that when new users are added my WordpressMU install, they will be added with a full set of information.