2017 © Pedro Peláez
 

symfony-bundle crowd-authentication-bundle

Atlassian Crowd authentication Symfony2 bundle

image

bluetea/crowd-authentication-bundle

Atlassian Crowd authentication Symfony2 bundle

  • Wednesday, November 19, 2014
  • by bluetea
  • Repository
  • 5 Watchers
  • 1 Stars
  • 106 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Atlassian Crowd authentication for Symfony2

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., (*1)

Installation

Add this bundle to your composer.json, (*2)

composer.phar require "bluetea/crowd-authentication-bundle" dev-master

Enable it in the AppKernel.php, (*3)

new Bluetea\CrowdAuthenticationBundle\BlueteaCrowdAuthenticationBundle(),

Add the configuration to your config.yml, (*4)

bluetea_crowd_authentication:
    base_url: https://atlassian.yourdomain.com/crowd/rest/usermanagement/latest
    application: application_key
    password: password

Configuration

Now edit the security.yml., (*5)

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., (*6)

The Versions

19/11 2014

dev-master

9999999-dev

Atlassian Crowd authentication Symfony2 bundle

  Sources   Download

MIT

The Requires

 

authentication symfony2 atlassian crowd