silverstripe/ldap
Composer 安装命令:
composer require silverstripe/ldap
包简介
Adds LDAP support to SilverStripe including user synchronisation and authentication
README 文档
README
Introduction
This Silverstripe module provides integration with LDAP (Lightweight Directory Access Protocol) servers. It comes with two major components:
- Synchronisation of Active Directory users and group memberships via LDAP(S)
- Active Directory authentication via LDAP binding
These components may be used in any combination, also alongside the default Silverstripe authentication scheme.
Installation
composer require silverstripe/ldap
Overview
This module will provide an LDAP authenticator for SilverStripe, which will authenticate via LDAPS against members in your AD server. The module comes with tasks to synchronise data between Silverstripe and AD, which can be run on a cron.
To synchronise further personal details, LDAP synchronisation feature can be used, also included in this module. This allows arbitrary fields to be synchronised - including binary fields such as photos. If relevant mappings have been configured in the CMS the module will also automatically maintain Silverstripe group memberships, which opens the way for an AD-centric authorisation.
Note: If you are looking for SSO with SAML, please see the silverstripe-saml module.
Security
With appropriate configuration, this module provides a secure means of authentication and authorisation.
AD user synchronisation and authentication is hidden behind the backend (server to server communication), but must still use encrypted LDAP communication to prevent eavesdropping (either StartTLS or SSL - this is configurable). If the webserver and the AD server are hosted in different locations, a VPN could also be used to further encapsulate the traffic going over the public internet.
Note that the LDAP protocol does not communicate over HTTP. If this is what you're looking for, you may be interested in SAML instead.
In-depth guides
- Developer guide - configure your Silverstripe site
- CMS usage guide - manage LDAP group mappings
- Troubleshooting - common problems
Changelog
Please see the GitHub releases for changes.
silverstripe/ldap 适用场景与选型建议
silverstripe/ldap 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 113.13k 次下载、GitHub Stars 达 3, 最近一次更新时间为 2017 年 10 月 15 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「ldap」 「directory」 「silverstripe」 「active」 「ad」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 silverstripe/ldap 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 silverstripe/ldap 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 silverstripe/ldap 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
LDAP user provider bundle for Symfony 6.4
Analytics chooser extensions for site settings.
Simple class for encapsulating file directory object.
Map group membership from a directory service to MediaWiki.
A local API to connect to the Astatine LDAP
统计信息
- 总下载量: 113.13k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 6
- 依赖项目数: 1
- 推荐数: 1
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2017-10-15