Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/youknowriad/cas-bundle
CAS Authentification Bundle in Symfony2
https://github.com/youknowriad/cas-bundle
Last synced: 16 days ago
JSON representation
CAS Authentification Bundle in Symfony2
- Host: GitHub
- URL: https://github.com/youknowriad/cas-bundle
- Owner: youknowriad
- Created: 2013-04-26T09:43:43.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-07-18T11:01:42.000Z (over 11 years ago)
- Last Synced: 2024-10-16T00:44:15.603Z (28 days ago)
- Language: PHP
- Size: 141 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Security: Security/CasAuthenticationEntryPoint.php
Awesome Lists containing this project
README
RIZEWAY CAS Bundle
==================
Cas Authentification in Symfony 2Installation
---------------### 1- Add the dependency to your composer.json
"require": {
"rizeway/cas-bundle": "0.1.x-dev"
},### 2- Add the bundle to your kernel app/AppKernel.php file to update symfony Kernel
$bundles = array(
new Rizeway\Bundle\CasBundle\RizewayCasBundle(),
);### 3- Parameters Symfony sandbox for use RizewayCasBundle
Edit app/config/config.yml and add the your configuration
rizeway_cas:
url: casServer.com:443/cas
server: casServer.localhost:443/cas # (only if different from the url, for server to server requests)
cert: /my-key.cert # false to bypass
username_attribute: login
proxy: true # if you want to active the proxy cas mode### 4- Edit app/config/security.yml file to add your provider and firewall
providers:
CAS:
id: my_user_providerfirewalls:
dev:
pattern: ^/(_(profiler|wdt)|css|images|js)/
security: false
secured_area:
pattern: ^/demo/secured/
cas:
check_path: /login/check
logout:
path: /logout
success_handler: cas.security.handler.logout### 5- Edit app/config/routing.yml file to add empty routes for your login check and logout paths