[WordPress] 外掛分享: SoJ CAS/LDAP Login

前言介紹

  • 這款 WordPress 外掛「SoJ CAS/LDAP Login」是 2009-03-31 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2009-04-01,距離現在已有 5876 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 2.0 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

sojweb |

外掛標籤

cas | ldap |

內容簡介

這個外掛只是開發用途,並不適合在正式網站上使用。

這個外掛是為了提供參考而開發的。我曾和許多有類似設置的人交流,並想分享一些程式碼。

該外掛允許使用者通過 CAS 進行驗證,並且可以透過 LDAP 控制登錄。預設的使用者角色可基於 LDAP 群組成員身份分配,並且可以為 LDAP 中存在但尚未在 WordPress 中創建的使用者自動創建帳戶。

假設對於 CAS 驗證,使用者會被重定向到外部地址,然後返回到參考地址;這是我所在的地方的作法。您還可以在 LDAP 中指定一個群組,該群組將始終具有管理員權限;這對技術人員很有用。

在使用該外掛之前,必須填寫 soj-ldap_constants.inc.php 中的常數。CAS 的預設密碼是使用者在 WordPress 中註冊時所使用的密碼。請注意這一點。當然,在這方面還可以做更多,我很樂意和想法的人一起工作。

我是從一個內部插件中改編的,所以可能還有一些殘留的程式碼片段或看起來奇怪的東西……請隨時問我,我是有點草率地完成這個。

我只在一個環境中使用過這個外掛,所以它可能不能立即適用於您的環境。但我對讓這個外掛更為穩健感興趣,因此請告訴我任何問題。

聯繫我:[email protected]

原文外掛簡介

THIS IS FOR DEVELOPMENT PURPOSES, NOT FOR USE ON PRODUCTION SITES
This plugin is meant to be a reference; I’ve talked to several people who have similar setups, and thought it would beneficial to share some code.
This plugin allows users to be authenticated via CAS, and logins to be controlled via LDAP. Default user roles can be assigned based on LDAP group membership, and accounts can be auto-created for users that exist in LDAP, but not yet in WordPress.
It assumes that, for CAS authentication, the user is redirected to an outside address, then back to the referring address; that’s how it works where I’m at :-). You can also specify a group in LDAP that will always have admin privileges; useful for tech staff.
Before the plugin is used, the constants in soj-ldap_constants.inc.php must be filled out. The CAS default password is the one the user is registered with in WordPress; so all WP users will have this password. Be aware of that. There is obviously more that could be done there, and I’m happy to work with others who have ideas.
I’ve adapted this from an in-house plugin I made, so there might be leftover code bits or things that look strange… feel free to harass me about that, I did this in a bit of a rush.
I’ve only ever used this plugin on one environment, so it might not work out-of-the-box for you. I’m interested in making this plugin more robust, however, so please let me know of any issues.
Contact me: [email protected]

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「SoJ CAS/LDAP Login」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

  • Authorizer 》Authorizer 外掛可以讓您限制 WordPress 網站只有特定使用者能夠進入,通常是已註冊於某個大學課程的學生。它維護一個經過批准的使用者清單,您可以編輯以確...。
  • WP Cassify 》如果您對這個外掛程式很滿意:, 作為我的努力報酬,我希望能夠收到大學或公司贈送的 T 恤(或其他好禮)。, 我的尺寸是 L。最好的祝福。, 這個 JASIG CAS 認...。
  • CAS Maestro 》如果您有一個CAS服務並想要使用相同的憑證在WordPress上驗證您的使用者,您可以使用此外掛來完成任務。, 嘗試在WordPress中啟動會話的使用者將被重新導向到CA...。
  • wpCAS 》wpCAS 將 WordPress 整合到一個已建立的 CAS 架構中,允許在異質環境中集中管理和驗證用戶憑證。, Wikipedia 上說明:, 中央身分驗證服務(CAS)是用於 Web ...。
  • Cassava CAS Server 》Cassava 是一個 WordPress 外掛,使用中央認證服務(CAS)協議,讓 WordPress 可以作為單一登錄驗證器。因此,在您的 WordPress 安裝中,用戶可以通過提供一...。
  • UTHSC WPCAS 》此外掛使用phpCAS函式庫,將CAS單一登入整合至WordPress。, , 提供使用者在多個WordPress網站上熟悉且安全的登入方式,無需額外購買昂貴的SSL憑證。, phpCAS...。

文章
Filter
Apply Filters
Mastodon