simple_cas_server
simple_cas_server copied to clipboard
A simple PHP implement of CAS server
Simple Cas Server
A simple PHP implement of CAS server
This project is deprecated, please refer to laravel_cas_server and php_cas_server
Features
- CAS protocol v1/v2/v3 without proxy
- Users/Services Management
Requirements
- PHP 5.5.9+
- composer
- npm
- gulp
Installation
- git clone https://github.com/leo108/simple_cas_server
- cd simple_cas_server
- composer install
- npm install
- gulp
Basic Usage
- Edit
.env
file in the project's root directory, change the options's value that start withDB_
- ./artisan migrate
- ./artisan db:seed
- ./artisan serve
- visit http://localhost:8000, login with
admin
/secret
Configuration
All configurations are set in .env
file
Application Settings
APP_LOCATE
: application Language, en
| cn
CAS Settings
CAS_ALLOW_RESET_PWD
: allow user reset password by email, true
| false
. if set to true
, you should configure mail sending options
CAS_TICKET_LEN
: ticket length
CAS_TICKET_EXPIRE
: ticket ttl, time in seconds
CAS_LOCK_TIMEOUT
: lock time while validating a ticket, time in microseconds
Todo
-
reset password by email - log user login history
- event hook
- gui installation
- tar ball release