2017 © Pedro Peláez
 

symfony-bundle cas-bundle

CAs Authentification using PHP CAS

image

rizeway/cas-bundle

CAs Authentification using PHP CAS

  • Thursday, July 18, 2013
  • by riad
  • Repository
  • 1 Watchers
  • 1 Stars
  • 278 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

RIZEWAY CAS Bundle

Cas Authentification in Symfony 2, (*1)

Installation

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, (*2)

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_provider

    firewalls:
        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

The Versions

18/07 2013

dev-master

9999999-dev

CAs Authentification using PHP CAS

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

security cas