CakePHP 和 Kerberos
我有一个基于 CakePHP 构建的网络应用程序。目前它正在使用内置的 AuthComponent 和 ACL 功能进行用户身份验证/访问控制。
在我们的组织中,我们有许多应用程序(Web 和其他),它们都需要自己的用户/密码组合。我们公司正在寻求将尽可能多的内部应用程序迁移到“单点登录”功能,并希望将 Kerberos 用于中央用户存储。
我想知道是否有人可能通过修改 AuthComponent 来验证允许使用应用程序本身的用户的应用程序级数据库,然后与 Kerberos 通信(假设找到用户)来验证用户的 uname/pwd 组合来攻击此问题。
任何建议将不胜感激。
I have a web app built upon CakePHP. Currently it is doing user authentication / Access Control with the built-in AuthComponent and the ACL functionality.
Throughout our organization, we have MANY applications (web and otherwise) that all require their own user/pass combo. Our company is looking to migrate as many of our internal apps to 'single signon' functionality, and the hope is to use Kerberos for the central user-store.
I'm wondering if someone might have attacked this by modifying the AuthComponent to validate against an application-level database of users permitted to use app itself, but then communicate with Kerberos (assuming the user is found) to authenticate the user's uname/pwd combo.
Any advice would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以创建一个扩展原始 AuthComponent 的新组件。然后您覆盖登录方法并在其中添加其他身份验证。这个解决方案非常方便并且不太具有侵入性,即使 AuthComponent 并不是设计成这样扩展的。
You can create a new Component which extends the original AuthComponent. Then you override the login method and add your other authentication there. This solution is very convenient and not too intrusive, even if the AuthComponent is not designed to be extended like this.