thomastaylor312 / CakeCAS

A simple plugin for making phpCAS work with CakePHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CakeCAS

This is a simple plugin for making phpCAS work with CakePHP. Just put this file in the Controller/Component/Auth/ folder and anywhere you are using the Auth component you can use $this->Auth->authenticate = array('CakeCAS.Cas');

If you want to contribute or have ideas to make this better, let me know and/or submit a pull request.

Installation

Prerequisites

Make sure to have phpCAS installed in the app/Vendor folder.
Use Configure::write() to write these variables in core.php: CAS.hostname, CAS.port, CAS.uri, CAS.debug_log_enabled, and CAS.cert_path.

Git Clone

Run the following command in the app/Plugin folder:
git clone git@github.com:thomastaylor312/CakeCAS.git

Usage

In app/Config/bootstrap.php add: CakePlugin::load('CakeCAS');

Contributors

This plugin was also written by @snelg.

About

A simple plugin for making phpCAS work with CakePHP

License:MIT License


Languages

Language:PHP 100.0%