承接 brille24/sylius-ldap-plugin 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

brille24/sylius-ldap-plugin

Composer 安装命令:

composer require brille24/sylius-ldap-plugin

包简介

Plugin to integrate with LDAP authentication.

README 文档

README

Plugin for integrating Sylius with LDAP.

When using instead of the Sylius form login, you will not be able to log in with existing users into Sylius.

Installation

Run composer require brille24/sylius-ldap-plugin in your project-root.

Configuration

Add this block to the parameters in your env-file and fill out the parameters. Your env file will most probably be .env.local. If that file does not exist, copy it from .env to .env.local and fill in the block of parameters below.

###> sylius/ldap-plugin ###
LDAP_HOST='ldap.example.com'
LDAP_POST=389
LDAP_ENCRYPTION='ssl' # 'ssl', 'tls' or 'none'
LDAP_PASSWORD='[YOUR PASSWORD FOR READ-ONLY / LOOKUP-USER HERE]'
LDAP_QUERY_PARAMETER='uid'
LDAP_QUERY_STRING='uid={username}'
LDAP_LOOKUP_DN='cn=lookup-user,dc=example,dc=com'
LDAP_USER_QUERY_DN='dc=example,dc=com'
LDAP_GROUP_QUERY_DN='ou=groups,dc=example,dc=com'
###< sylius/ldap-plugin ###

To use this new method of authorizing users change the form_login in config/packages/security.yaml to form_login_ldap. For reference the plugin version of this configuration file is located under tests/Application/config/packages/security.yaml.

Origin / Other Sources

This plugin is the result of the third sylius hackathon in oldenburg at brille24. It is based on symfony/ldap, so any guide for that package may also help you:

统计信息

  • 总下载量: 30.86k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-04-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固