最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

authentication - How can LDAPActive Directory be integrated in WordPress?

programmeradmin9浏览0评论

I know there are a few plugins. I need to more than likely roll my own. But, I don't know enough about the WP security infrastructure. Where does WP authorization and authentication code go? I'm not really asking about a broad spectrum here, just a very basic answer to where the code is to begin editing so it looks at my AD.

I know there are a few plugins. I need to more than likely roll my own. But, I don't know enough about the WP security infrastructure. Where does WP authorization and authentication code go? I'm not really asking about a broad spectrum here, just a very basic answer to where the code is to begin editing so it looks at my AD.

Share Improve this question asked Aug 7, 2014 at 16:47 johnnyjohnny 3191 gold badge5 silver badges15 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

Best thing is to learn as much as you can from the available plugins even if they are not a perfect match to your requirements. This will help you identify areas of functionality which you will need to handle.

As for coding itself, for the authentication part you will most likely need to override the authenticate filter which lets you do user/password authentication before wordpress tries by itself.

Authorization can be a complex beast and I am not sure what kind of it you will need so can't even guess what will be useful. You most likely will need to get familiar with user roles and permissions.

发布评论

评论列表(0)

  1. 暂无评论