Download the PHP package dsi-iepg/cas-connection without Composer
On this page you can find all versions of the php package dsi-iepg/cas-connection. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dsi-iepg/cas-connection
More information about dsi-iepg/cas-connection
Files in dsi-iepg/cas-connection
Package cas-connection
Short Description Mise en place d'une authentification par CAS
License MIT
Homepage https://github.com/dsi-iepg/cas-bundle
Informations about the package cas-connection
Cas connection Bundle
The bundle make and authenicator with and phpCas based on the login of user.
If you want multiple authenticator anser yes for does need passwords => yes.
installation
The authenticator use 2 role:
- USER
- ADMIN
Applications that use Symfony Flex
Open a command console, enter your project directory and execute:
Create User with login
- name class => User
- store user data in the database => yes
- property name => login
- does need passwords => no
make and play migrations with Doctrine.
files modifications
Add in config/bundles.php
Add in .env
Add in config/packages/security.yaml
Or if you use multiple authenticators
And add
WARNING! For attention reasons, please avoid starting your own route with 'cas_'
add Files
Add file in config/packages/cas_connection.yaml
Add in file config/routes.yaml
Add file in src/EventListener/logoutSubcriber.php
All versions of cas-connection with dependencies
apereo/phpcas Version ^1.6
symfony/security-bundle Version ^7.0
symfony/framework-bundle Version ^7.0
symfony/http-foundation Version ^7.0
symfony/dependency-injection Version ^7.0
symfony/config Version ^7.0