-
1 votesanswersviews
ZF3 MVC Zend \身份验证即服务工厂
我正在尝试将我的ZF2 User 模块改编为ZF3 MVC . 它有一个身份验证服务管理器,在 Module 类中的 onBootsrap 函数中为每个请求(即页面加载)调用,以检查用户是否经过身份验证 . 由于 serviceLocator 和 ServiceAware 不再可用,我正在尝试创建 AuthenticationServiceFactory 但我还没有成功 . 您对我的错误以及如何... -
2 votesanswersviews
使用Zend \ Authentication \ Adapter \ Ldap(ZF2)验证针对Active Directory的凭据
我想检查ZF2-Application中我们的活动目录的用户名/密码 . 我为此使用Zend \ Authentication \ Adapter \ Ldap,它部分工作 . 这是我的代码: use Zend\Authentication\AuthenticationService; use Zend\Authentication\Adapter\Ldap as AuthAdapter; ...