Download the PHP package novactive/ezldapauthenticatorbundle without Composer
On this page you can find all versions of the php package novactive/ezldapauthenticatorbundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download novactive/ezldapauthenticatorbundle
More information about novactive/ezldapauthenticatorbundle
Files in novactive/ezldapauthenticatorbundle
Package ezldapauthenticatorbundle
Short Description Novactive eZ LDAP Authenticator Bundle, A bundle to authenticate users against LDAP server
License MIT
Informations about the package ezldapauthenticatorbundle
Novactive eZ LDAP Authenticator Bundle
This repository is what we call a "subtree split": a read-only copy of one directory of the main repository. It is used by Composer to allow developers to depend on specific bundles.
If you want to report or contribute, you should instead open your issue on the main repository: https://github.com/Novactive/Nova-eZPlatform-Bundles
Documentation is available in this repository via .md
files but also packaged here: https://novactive.github.io/Nova-eZPlatform-Bundles/master/LdapAuthenticatorBundle/README.md.html
A bundle to authenticate users against LDAP server
Installation
Add the lib to your composer.json, run composer require novactive/ezldapauthenticatorbundle
to refresh dependencies.
Then inject the bundle in the bundles.php
of your application.
Configuration
Bundle configuration
To configure this bundle you should add new section nova_ez_ldap
into your config.yml
file.
Basic config might be like this one:
Instead of connection_string
you are able to set host
, port
, encryption
and version
separately.
Also you can set options
array that will be passed directly to the Symfony Ldap component.
LDAP attributes mapping
To be able to store user who came from LDAP you have to configure mapping between LDAP attributes and eZPublish user fields.
You must map all required fields in the ezuser
part.
By default eZPublish needs user credentials and email but you may have any additional fields in you User
content class so you should fill all of them.
Target group
All users will be stored in the group user_group_id
. You must put group content id here.
Full default config
Here is full default bundle configuration:
Security configuration
Besides common bundle configuration you will have to add some parameters in security
section: