Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thomastaylor312/cakecas
A simple plugin for making phpCAS work with CakePHP
https://github.com/thomastaylor312/cakecas
Last synced: about 2 months ago
JSON representation
A simple plugin for making phpCAS work with CakePHP
- Host: GitHub
- URL: https://github.com/thomastaylor312/cakecas
- Owner: thomastaylor312
- License: mit
- Created: 2014-03-18T21:28:08.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-14T20:32:29.000Z (about 10 years ago)
- Last Synced: 2023-08-19T19:32:38.275Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 180 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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](https://wiki.jasig.org/display/CASC/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 [email protected]:thomastaylor312/CakeCAS.git`### Usage
In `app/Config/bootstrap.php` add: `CakePlugin::load('CakeCAS');`
### Contributors
This plugin was also written by [@snelg](https://github.com/snelg).