Integrate Central Authentication Service (CAS) with WordPress
Author: | George Spake - UTHSC (profile at wordpress.org) |
WordPress version required: | 3.0.1 |
WordPress version tested: | 4.3.3 |
Plugin version: | 1.0 |
Added to WordPress repository: | 25-02-2014 |
Last updated: | 16-02-2016
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | https://github.com/uthsc/uthsc-wpcas |
Total downloads: | 1 804 |
Active installs: | 10+ |
Click to start download
|
Screenshots
Profile page of a user after logging in with UTHSC-WPCAS. Password fields are hidden and Name fields are populated by the attributes returned by CAS.
Test page in UTHSC-WPCAS settings. The test page provides session info and lists information about the current user. Manual test files are available in the plugin's test directory.
FAQ
Why was this plugin developed?
This plugin was developed for UTHSC because there weren’t any existing plugins, being actively maintained, that took full advantage of CAS.
SSL certificates are expensive and CAS single sign on prevents the need for multiple certs and provides users with a familiar login experience.
We realized the WordPress community needed a go-to CAS plugin so this is a starting point.
Why did you use the phpCAS lirary?
phpCAS is the standard, vetted, php library for CAS, so rewriting it from scratch would be counterproductive.
It also makes the plugin easier to configure.
Will this work with our version of CAS?
This should work with CAS 3.4 and later. It’s possible that it will work with earlier versions but we haven’t tried.
Will it work with Multisite?
We’ve tested the plugin with and without multisite and it works great either way.
How should I know what my settings should be?
The plugin comes with all settings prepopulated with defaults for UTHSC.
Chances are, if you’ve downloaded this plugin you’re already using CAS and hopefully phpCAS so most of these settings should look pretty familiar.
If you’re having trouble, check the phpCAS documentation or let us know in the support section.
The plugin is working but new user account attributes are blank or incorrect.
You may want to test CAS outside of WordPress first to make sure everything works and you’re getting attributes back. For more information about testing and to download some example files from phpCAS, go to https://github.com/uthsc/UTHSC-WPCAS/tree/master/test
If you aren’t getting attributes back, you’ll probably need to make some adjustments to your CAS server. Check the CAS documentation at https://wiki.jasig.org/display/casum/attributes for more information about attributes and getting them to work.
If you are getting attributes back and they are being applied to new user accounts incorrectly, it’s probably just a matter of how the CAS response is being parsed by the plugin.
Right now, it is based on the response we get but it may be different for other users. You can change the array indexes in the plugin settings if they are different from the defaults but if your response is completely incompatible, let us know and we’ll consider updating the plugin to accept more formats.
How can I contribute to this plugin?
We’ll be managing the project through Github and would love your feedback.
UTHSC WPCAS was developed to work with UTHSC’s configuration but we want it to work for as many people as possible;
If you have ideas for features or improvements, let us know or submit a pull request.
ChangeLog
1.0.1
Made method static to resolve error
1.0
Tested with WordPress version 4.3.1
0.2.2
Fixed format issue with first name value
Changed menu position to avoid conflicts with other plugins.
0.2.1
Updated option names to avoid potential conflicts
0.2
Initial release