Title: wpCAS Server
Author: Adam Backstrom
Published: <strong>30 Tháng 3, 2009</strong>
Last modified: 12 Tháng 7, 2012

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

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

# wpCAS Server

 Bởi [Adam Backstrom](https://profiles.wordpress.org/adambackstrom/)

[Tải về](https://downloads.wordpress.org/plugin/wpcas-server.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/wpcas-server/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/wpcas-server/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/wpcas-server/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/wpcas-server/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/wpcas-server/)

## Mô tả

This plugin reserves a collection of URIs that create, validate, and destroy CAS
tickets.

 * /cas/login :: If user is not authenticated he/she is redirected to the login 
   page. Otherwise the user is redirected to the service specified as a GET variable
   in the URL – or if service is not provided, the user is redirected to the WordPress
   instance’s home.
 * /cas/logout :: The user’s session is destroyed, user is logged out of the WordPress
   instance, and redirected to $_GET[‘service’] (or the blog home if service isn’t
   provided)
 * /cas/proxyValidate and /cas/validate :: The CAS ticket must be passed as a GET
   parameter in the URL when calling /cas/validate. The ticket is validated and 
   XML is output with either cas:authenticationSuccess or cas:authenticationFailure

### Hooks & Filters

#### wpcas_server_login Hook

This hook allows for the insertion of code after login has successfully completed
and just before the ticket creation. One common use of this hook is to fill out 
the $_SESSION variable with site/user specific information.

#### wpcas_server_auth_value Filter

This filter (executed in a successful ticket validation in /cas/validate) is used
to override the user identifier returned in the cas:authenticationSuccess XML response.
By default, the value returned is the $user_ID of the authenticated user. Using 
this filter, that value can be altered to whatever suits your implementation.

## Cài đặt

 1. Upload `wpcas-server` directory to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## Hỏi đáp

  What version of CAS does this plugin replicate?

wpCAS Server currently replicates partial functionality of a CAS 2.0 server.

  You just said “partial”…what doesn’t this support?

Currently wpCAS Server has not implemented the Proxy ticketing found in the [CAS 2.0 architecture](http://www.jasig.org/cas/cas2-architecture).

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“wpCAS Server” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Adam Backstrom ](https://profiles.wordpress.org/adambackstrom/)
 *   [ Matthew Batchelder ](https://profiles.wordpress.org/borkweb/)
 *   [ Casey Bisson ](https://profiles.wordpress.org/misterbisson/)

[Dịch “wpCAS Server” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/wpcas-server)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/wpcas-server/), check out
[SVN repository](https://plugins.svn.wordpress.org/wpcas-server/), hoặc theo dõi
[nhật ký phát triển](https://plugins.trac.wordpress.org/log/wpcas-server/) qua [RSS](https://plugins.trac.wordpress.org/log/wpcas-server/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.0

 * Initial release

## Meta

 *  Phiên bản **1.0**
 *  Cập nhật lần cuối **14 năm trước**
 *  Số lượt cài đặt **10+**
 *  Phiên bản WordPress ** 2.8 hoặc cao hơn **
 *  Đã kiểm tra lên đến **2.9.2**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/wpcas-server/)
 * Thẻ
 * [auth](https://vi.wordpress.org/plugins/tags/auth/)[authentication](https://vi.wordpress.org/plugins/tags/authentication/)
   [central authentication service](https://vi.wordpress.org/plugins/tags/central-authentication-service/)
   [wpCAS](https://vi.wordpress.org/plugins/tags/wpcas/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/wpcas-server/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/wpcas-server/reviews/)

## Những người đóng góp

 *   [ Adam Backstrom ](https://profiles.wordpress.org/adambackstrom/)
 *   [ Matthew Batchelder ](https://profiles.wordpress.org/borkweb/)
 *   [ Casey Bisson ](https://profiles.wordpress.org/misterbisson/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/wpcas-server/)