mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-04 10:14:13 +08:00
Add ldap auto create user provider
- Add user provider that creates user if not yet created on the app - Add proxy to re-use existing entity and ldap user providers - Allow configuring mapping of ldap extra fields to user fields - Add base mapping configuration in ldap.yaml
This commit is contained in:
parent
4e945589fc
commit
8f5af3f610
5 changed files with 276 additions and 1 deletions
|
@ -55,6 +55,7 @@ services:
|
|||
$subpanelLineActions: '%module.subpanel.line_actions%'
|
||||
$subpanelTopActions: '%module.subpanel.top_actions%'
|
||||
$subpanelTopButtons: '%module.subpanel.top_buttons%'
|
||||
$ldapAutoCreateExtraFieldsMap: '%ldap.autocreate.extra_fields_map%'
|
||||
_instanceof:
|
||||
App\Process\Service\ProcessHandlerInterface:
|
||||
tags: [ 'app.process.handler' ]
|
||||
|
@ -264,6 +265,10 @@ services:
|
|||
arguments:
|
||||
- !tagged { tag: 'massupdate.definition.mapper' }
|
||||
|
||||
App\Security\Ldap\AppLdapUserProviderProxy:
|
||||
$ldapUserProvider: '@security.user.provider.concrete.ldap_users'
|
||||
$entityUserProvider: '@security.user.provider.concrete.app_user_provider'
|
||||
|
||||
legacy.route.handler:
|
||||
alias: App\Routes\Service\LegacyRouteHandler
|
||||
public: true
|
||||
|
|
4
config/services/ldap/ldap.yaml
Normal file
4
config/services/ldap/ldap.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
parameters:
|
||||
ldap.autocreate.extra_fields_map:
|
||||
|
||||
ldap.extra_fields: [ ]
|
Loading…
Add table
Add a link
Reference in a new issue