定制 sebius77/cas-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sebius77/cas-bundle

Composer 安装命令:

composer require sebius77/cas-bundle

包简介

Basic CAS (SSO) authenticator for Symfony 6,7 et 8 with the new authentication system inspired By PRayno/CasAuthBundle and Yraiso/casauth-bundle

README 文档

README

Bundle for SSO authentication in Symfony 6, 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)

统计信息

  • 总下载量: 806
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2022-05-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固