cors/document-auth
最新稳定版本:0.4.0
Composer 安装命令:
composer require cors/document-auth
包简介
CORS - Document Auth
关键字:
README 文档
README
THIS BUNDLE IS DUAL LICENSED UNDER GPL-3.0 FOR PIMCORE 10 AND PIMCORE 11 AND MIT FOR PIMCORE 12 AND ABOVE.
This bundles allows to add basic auth based on Properties on Pimcore Documents.
Simply use these properties
- password_enabled Checkbox: Enable and disable the password
- password_username Text: Username
- password_password Text: Password as RAW Text
Installation
- Install Bundle
composer require cors/document-auth - Enable Bundle
bin/console pimcore:bundle:enable CORSDocumentAuthBundle - Copy Security config into the security config
Security Config
security: enable_authenticator_manager: true password_hashers: Symfony\Component\Security\Core\User\InMemoryUser: 'auto' providers: document_auth_provider: id: CORS\Bundle\DocumentAuthBundle\Security\UserProvider firewalls: document_auth: request_matcher: CORS\Bundle\DocumentAuthBundle\Security\RequestMatcher http_basic: realm: Site provider: document_auth_provider access_control: - { path: ^/, role: ROLE_USER, attributes: {'_firewall_context': 'document_auth'}}
统计信息
- 总下载量: 5.69k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2021-11-11