Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ztec committed Nov 2, 2012
1 parent a1caa18 commit 8a5e8c1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,29 @@ It use LDAP as communication layer. So you need the LDAP extension installed on
Requirements
----------------
php 5.2

php_ldap

ssl configuration for LDAP. see see http://adldap.sourceforge.net/wiki/doku.php?id=ldap_over_ssl

Symfony 2.1


Installation
----------------

You need to add a package to your dependency list :

//composer.json
"ztec/security-active_directory": "dev-master"

You need to enable the bundle into your kernel

//app/AppKernel.php
new Ztec\Security\ActiveDirectoryBundle\ZtecSecurityActiveDirectoryBundle(),

You need to configure your domain specific information

//app/config/config.yml
parameters:
ztec.security.active_directory.settings:
Expand All @@ -43,6 +50,7 @@ You need to configure your domain specific information
- /(.*)/i #like toto

You need to add security parameters

//app/config/security.yml
encoders:
Ztec\Security\ActiveDirectoryBundle\Security\User\adUser : plaintext #Active directory does not support encrypted password yet
Expand All @@ -60,6 +68,7 @@ You need to add security parameters

Useful information
----------------------

Roles are got from Active directory. The name is transform to match the ROLE system of Symfony2
Domain User => ROLE_DOMAIN_USER
Administrators = ROLE_ADMINISTRATORS
Expand Down

0 comments on commit 8a5e8c1

Please sign in to comment.