Skip to content

carlagouveia/sfCASGuardPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

sfCASGuardPlugin

This project is a small modification to sfDoctrineGuardPlugin that i put together in order to have an elegant ACL integrated with a classy SSO. This modification that allows you to relay the sfGuard authentication to a CAS server, keeping profiles, groups and permissions of sfGuard. It works by comparing the CAS username with the username in the sfGuard database and forcing the login within sfGuard after successful authentication of CAS. Of course, this means that you need the user created in CAS and in sfGuard to coexist, although the only password that matters is the CAS one.

Authors and contributors

Todo

  • implement the whole thing in a more elegant way

Using sfCASGuardPlugin

In order to install, you should follow the same steps to install sfDoctrineGuardPlugin. Just clone this GIT repository instead of the original SVN. After doing the classic steps, you need to configure your CAS server information. Modify your app.yml:

all:
  cas:
    server_name: 'cas.example.com'
    server_port: 443
    server_path: 'cas'
    server_cert: '/path/to/cachain.pem'

About

Small modification to integrate sfGuard and CAS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages