Title: UTHSC WPCAS
Author: gpspake
Published: <strong>25 fevereiro, 2014</strong>
Last modified: 16 fevereiro, 2016

---

Pesquisar plugins

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

Este plugin **não foi testado com os 3 lançamentos principais mais recentes do WordPress**.
Ele pode não ser mais mantido ou suportado e pode ter problemas de compatibilidade
quando usado com versões mais recentes do WordPress.

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

# UTHSC WPCAS

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

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

 * [Detalhes](https://br.wordpress.org/plugins/uthsc-wpcas/#description)
 * [Avaliações](https://br.wordpress.org/plugins/uthsc-wpcas/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/uthsc-wpcas/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/uthsc-wpcas/#developers)

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

## Descrição

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

## Capturas de tela

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

## Instalação

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. Ative o plugin por meio do menu “Plugins” no WordPress
 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

## Perguntas frequentes

  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.

## Avaliações

Não há avaliações para este plugin.

## Colaboradores e desenvolvedores

“UTHSC WPCAS” é um programa de código aberto. As seguintes pessoas contribuíram 
para este plugin.

Colaboradores

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

[Traduzir o “UTHSC WPCAS” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/uthsc-wpcas)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/uthsc-wpcas/), 
consulte o [repositório SVN](https://plugins.svn.wordpress.org/uthsc-wpcas/) ou 
assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/uthsc-wpcas/)
por [RSS](https://plugins.trac.wordpress.org/log/uthsc-wpcas/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

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

## Meta

 *  Versão **1.0**
 *  Última atualização **10 anos atrás**
 *  Instalações ativas **10+**
 *  Versão do WordPress ** 3.0.1 ou superior **
 *  Testado até **4.3.34**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/uthsc-wpcas/)
 * Tags
 * [authentication](https://br.wordpress.org/plugins/tags/authentication/)[cas](https://br.wordpress.org/plugins/tags/cas/)
   [central authentication service](https://br.wordpress.org/plugins/tags/central-authentication-service/)
   [phpCAS](https://br.wordpress.org/plugins/tags/phpcas/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/uthsc-wpcas/advanced/)

## Classificações

Ainda não foi enviada nenhuma avaliação.

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

[Ver todas avaliações](https://wordpress.org/support/plugin/uthsc-wpcas/reviews/)

## Colaboradores

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

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/uthsc-wpcas/)

## Doar

Gostaria de contribuir para o desenvolvimento deste plugin?

 [ Doe para este plugin ](http://uthsc.edu)