bluetea/crowd-authentication-bundle
Composer 安装命令:
composer require bluetea/crowd-authentication-bundle
包简介
Atlassian Crowd authentication Symfony2 bundle
README 文档
README
This bundle allows you to add Atlassian Crowd authentication to your Symfony2 application and is inspired on the seiffert Crowd Auth Bundle. In the near future this bundle will be expended with more advanced features.
Installation
Add this bundle to your composer.json
composer.phar require "bluetea/crowd-authentication-bundle" dev-master
Enable it in the AppKernel.php
new Bluetea\CrowdAuthenticationBundle\BlueteaCrowdAuthenticationBundle(),
Add the configuration to your config.yml
bluetea_crowd_authentication:
base_url: https://atlassian.yourdomain.com/crowd/rest/usermanagement/latest
application: application_key
password: password
Configuration
Now edit the security.yml.
security:
encoders:
Bluetea\CrowdAuthenticationBundle\Crowd\User: plaintext
[...]
providers:
crowd:
id: bluetea_crowd_authentication.security.user.crowd_user_provider
[...]
firewalls:
dev:
pattern: ^/(_(profiler|wdt)|css|images|js)/
security: false
demo_login:
pattern: ^/demo/secured/login$
security: false
demo_secured_area:
pattern: ^/demo/secured/
crowd_login:
check_path: _demo_security_check
login_path: _demo_login
logout:
path: _demo_logout
target: _demo
The crowd_login is important! Don't forget it or you won't get authenticated.
统计信息
- 总下载量: 120
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-11-18