sebius77/cas-bundle
最新稳定版本:v1.8.5
Composer 安装命令:
composer require sebius77/cas-bundle
包简介
Basic CAS (SSO) authenticator for Symfony 5.4, 6 and 7 with the new authentication system inspired By PRayno/CasAuthBundle and Yraiso/casauth-bundle
README 文档
README
Bundle for SSO authentication in Symfony 5.4, 6 and symfony 7 and inspired By PraynoCasAuthBundle and yraiso/casauth-bundle
Installation
Install the bundle via Composer by running the following command :
composer require sebius77/cas-bundle
Configuration
Create the file config/packages/sebius77_cas.yaml and add :
sebius77_cas:
server_login_url: https://cas_server/cas
server_validation_url: https://cas_server/cas/serviceValidate
server_logout_url: https://cas_server/cas/logout
xml_namespace: cas
options: []
Modify your security.yaml
security:
enable_authenticator_manager: true
providers:
cas_user_provider:
id: sebius77.cas_user_provider
firewalls:
...
main:
logout: ~
provider: cas_user_provider
custom_authenticator: sebius77.cas_authenticator
entry_point: sebius77.cas_entry_point
access_control:
- { path: ^/, roles: ROLE_USER }
The changes to the package are :
- autoloading (PSR-0 to PSR-4)
统计信息
- 总下载量: 616
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-05-23