Title: UTHSC WPCAS
Author: gpspake
Published: <strong>25.2.2014</strong>
Last modified: 16.2.2016

---

Hae lisäosia

![](https://ps.w.org/uthsc-wpcas/assets/banner-772x250.jpg?rev=864911)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/uthsc-wpcas_d5efe6.svg)

# UTHSC WPCAS

 [gpspake](https://profiles.wordpress.org/gpspake/)

[Lataa](https://downloads.wordpress.org/plugin/uthsc-wpcas.1.0.1.zip)

 * [Tiedot](https://fi.wordpress.org/plugins/uthsc-wpcas/#description)
 * [Arvostelut](https://fi.wordpress.org/plugins/uthsc-wpcas/#reviews)
 *  [Asennus](https://fi.wordpress.org/plugins/uthsc-wpcas/#installation)
 * [Kehitys](https://fi.wordpress.org/plugins/uthsc-wpcas/#developers)

 [Tuki](https://wordpress.org/support/plugin/uthsc-wpcas/)

## Kuvaus

This plugin uses the phpCAS library to integrate CAS single sign on with WordPress.

 * Provide users with a familiar secure login on multiple WordPress sites without
   the need for additional expensive ssl certificates.
 * phpCAS configuration settings can be set in the plugin options
 * Login screen redirects to CAS url specified in options
 * New user accounts will be created for users who have not logged in to the site
   yet
 * User attributes returned by CAS can be used to populate new user account details
   such as email address and display name.
 * Service urls can be captured to redirect users to the same page on log in/out.(
   Logoutwithredirectservice must be enabled on CAS server for log out redirects
   to work.)

### Special thanks

David R. Poindexter III and Indiana University – During the development of this 
plugin, IU-WPCAS was one of the only CAS plugins for WordPress and provided a good
bit of inspiration. Clearly, our plugin’s name is completely original.

Todd Barber and Billy Barnet @ UTHSC for all of their patience, support and good
advice

## Kuvankaappaukset

 * [[
 * 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.

## Asennus

Note: UTHSC WPCAS is meant to provide anyone already using CAS, and preferably phpCAS,
a way to integrate it in to WordPress.
 Some tweaks to your CAS server configuration
may be necessary to take advantage of all of the CAS features. So, while most of
the settings can be changed in the admin panel, it’s not necessarily an out-of-the-
box plugin.

Warning: UTHSC-WPCAS overrides WordPress authentication so you will not be able 
to log in normally once it is activated.
 Make sure to keep a separate session open
during configuration and testing so you can de-activate the plugin if necessary.

 1. Upload `uthsc-wpcas` to the `/wp-content/plugins/` directory
 2. Ota lisäosa käyttöön WordPress hallintapaneelin Lisäosat kohdassa
 3. Place your certificate(s) in uthsc-wpcas/cas-keys directory (Replace the existing
    sample)
 4. Modify configuration settings in the uthsc-wpcas options page

## UKK

  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.

## Arvostelut

There are no reviews for this plugin.

## Avustajat & Kehittäjät

“UTHSC WPCAS” perustuu avoimeen lähdekoodiin. Seuraavat henkilöt ovat osallistuneet
tämän lisäosan kehittämiseen.

Avustajat

 *   [ gpspake ](https://profiles.wordpress.org/gpspake/)

[Käännä “UTHSC WPCAS” omalle kielellesi.](https://translate.wordpress.org/projects/wp-plugins/uthsc-wpcas)

### Oletko kiinnostunut kehitystyöstä?

[Browse the code](https://plugins.trac.wordpress.org/browser/uthsc-wpcas/), check
out the [SVN repository](https://plugins.svn.wordpress.org/uthsc-wpcas/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/uthsc-wpcas/) by
[RSS](https://plugins.trac.wordpress.org/log/uthsc-wpcas/?limit=100&mode=stop_on_copy&format=rss).

## Muutosloki

#### 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

Tuotteen julkistus

## Metatiedot

 *  Version **1.0**
 *  Last updated **10 vuotta sitten**
 *  Active installations **10+**
 *  WordPress version ** 3.0.1 or higher **
 *  Tested up to **4.3.34**
 *  Language
 * [English (US)](https://wordpress.org/plugins/uthsc-wpcas/)
 * Tags
 * [authentication](https://fi.wordpress.org/plugins/tags/authentication/)[cas](https://fi.wordpress.org/plugins/tags/cas/)
   [central authentication service](https://fi.wordpress.org/plugins/tags/central-authentication-service/)
   [phpCAS](https://fi.wordpress.org/plugins/tags/phpcas/)
 *  [Edistynyt näkymä](https://fi.wordpress.org/plugins/uthsc-wpcas/advanced/)

## Arvosanat

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/uthsc-wpcas/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/uthsc-wpcas/reviews/)

## Avustajat

 *   [ gpspake ](https://profiles.wordpress.org/gpspake/)

## Tuki

Onko sinulla jotain sanottavaa? Tarvitsetko apua?

 [Tukifoorumi](https://wordpress.org/support/plugin/uthsc-wpcas/)

## Lahjoita

Haluatko tukea tämän lisäosan kehitystä?

 [ Tue tämän lisäosan tekijöitä ](http://uthsc.edu)