Title: wpCAS
Author: Casey Bisson
Published: <strong>Ògún 30, 2008</strong>
Last modified: Ẹrẹ́nà 25, 2010

---

Ṣàwárí àwọn plugin

Plugin yìí **kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress**.
Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu
nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

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

# wpCAS

 Láti ọwọ́ [Casey Bisson](https://profiles.wordpress.org/misterbisson/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/wpcas.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/wpcas/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/wpcas/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/wpcas/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/wpcas/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/wpcas/)

## Àpèjúwe

wpCAS integrates WordPress into an established CAS architecture, allowing centralized
management and authentication of user credentials in a heterogeneous environment.

[From Wikipedia](http://en.wikipedia.org/wiki/Central_Authentication_Service):

> 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Ìtumọ̀ Yorùbá: ’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Ìtumọ̀ Yorùbá: ’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](http://en.wikipedia.org/wiki/AuthZ) of that userÌtumọ̀ Yorùbá: ’
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, an administrator
defined function can be called to provision the account or do other actions. By 
default, CAS users without WordPress accounts are simply refused access.

## Ìgbéwọlẹ̀

 1. Download [phpCAS](http://www.ja-sig.org/wiki/display/CASC/phpCAS) and place it 
    on your webserver so that it can be included by the wpCAS plugin.
 2. Place the plugin folder in your `wp-content/plugins/` directory and activate it.
 3. Set any options you want in Settings -> wpCAS _or_ in the `wpcas-conf.php` file.
 4. The plugin starts intercepting authentication attempts as soon as you activate 
    it. Use another browser or another computer to test the configuration.

#### wpcas-conf.php

wpCAS can be configured either via the settings page in the WordPress dashboard,
or via a configuration file. See `wpcas-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 that page is hidden.

Use of `wpcas-conf.php` is recommended for WordPressMU installations, as doing so
hides the settings menu from users.

#### WordPressMU Installation

 1. Download [phpCAS](http://www.ja-sig.org/wiki/display/CASC/phpCAS) and place it 
    on your webserver so that it can be included by the wpCAS plugin.
 2. Place the plugin `wpcas.php` in your `wp-content/mu-plugins/` directory.
 3. Make a copy of `wpcas-conf-sample.php`, rename it `wpcas-conf.php`, and put it 
    in your `wp-content/mu-plugins/` directory.
 4. Set the options in the config file.
 5. The plugin starts intercepting authentication attempts as soon as you activate 
    it. Use another browser or another computer to test the configuration.
 6. Consider creating a function to provision user accounts for CAS-authenticated users
    who do not have WordPress accounts.

## FAQ

  What version of phpCAS should I use?

IÌtumọ̀ Yorùbá: ’ve only tested it with the 1.0 release available from ja-sig.

  HowÌtumọ̀ Yorùbá: ’s it work?

Users who attempt to login to WordPress are redirected to the central CAS sign-on
screen. After the userÌtumọ̀ Yorùbá: ’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.

  You keep talking about provisioning users. How?

Each environment is different; each environment probably needs its own solution 
for this. IÌtumọ̀ Yorùbá: ’ve posted my [user provisioning script](http://maisonbisson.com/projects/wpcas)
here, if you find something in there that works, [leave a comment](http://maisonbisson.com/projects/wpcas).

  WhatÌtumọ̀ Yorùbá: ’s the relationship between LDAP and CAS?

There is none.

  This looks familiar…

You might be thinking of [Stephen Schwink](http://schwink.net)‘s [CAS Authentication](https://wordpress.org/extend/plugins/cas-authentication/)
plugin. This plugin would be a lot different if I couldnÌtumọ̀ Yorùbá: ’t lean on
StephenÌtumọ̀ Yorùbá: ’s excellent work. My primary reasons for branching (under
the the terms of the GPL) were that I wanted it to work better with WPMU and needed
an easier way to hook-in functions to provision users and wanted to do that while
also making it easy to upgrade using SVN (thus the config file).

## Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

## Àwọn Olùkópa & Olùgbéejáde

“wpCAS” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin
yìí.

Àwọn Olùkópa

 *   [ Casey Bisson ](https://profiles.wordpress.org/misterbisson/)

[Túmọ̀ “wpCAS” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/wpcas)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/wpcas/), ṣàyẹ̀wò [ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/wpcas/),
tàbí ṣe àgbékalẹ̀ sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/wpcas/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/wpcas/?limit=100&mode=stop_on_copy&format=rss).

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **1.07**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọdún 17 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **100+**
 *  Ẹ̀yà WordPress ** 2.7 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **2.7.1**
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/wpcas/)
 * Àwọn àmì
 * [authentication](https://yor.wordpress.org/plugins/tags/authentication/)[cas](https://yor.wordpress.org/plugins/tags/cas/)
   [central authentication service](https://yor.wordpress.org/plugins/tags/central-authentication-service/)
   [phpCAS](https://yor.wordpress.org/plugins/tags/phpcas/)[wpCAS](https://yor.wordpress.org/plugins/tags/wpcas/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/wpcas/advanced/)

## Àwọn ìbò

Kò sí ìwádìí tí a tíì fi ránṣẹ́.

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

[Wo gbogbo àwọn àgbéyẹ̀wò](https://wordpress.org/support/plugin/wpcas/reviews/)

## Àwọn Olùkópa

 *   [ Casey Bisson ](https://profiles.wordpress.org/misterbisson/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/wpcas/)

## Ṣe ìtọrẹ

Ṣé o fẹ́ ṣe àtìlẹ́yìn fún ìlọsíwájú plugin yìí?

 [ Ṣe ìtọrẹ sí plugin yìí ](http://MaisonBisson.com/)