Dashboard > Design Patterns > Party Management Facility
Design Patterns Log In   View a printable version of the current page.
Party Management Facility
Added by arthuroy, last edited by arthuroy on Oct 01, 2004  (view change)
Labels: 
(None)

資料來源: Design Patterns 討論區 - Business Patterns - Party Management Facility (PMF)
作者: arthuroy

開發系統時一定會碰到的就是「權限管理」 - 誰 (who) 在某個系統/模組 (where) 可以做什麼事 (what)。

當比較基本的個人或是組織資料 (例如: 真實姓名/公司名稱、聯絡方式) 伴隨著權限管理資料 (例如: 登入帳號、密碼等) 建立後,我們就會想說那似乎可以再多加上一些商業性資料在個人/組織的帳號上提供更多的系統應用 (例如: 產業別 - 提供會員產業分佈圖、出生日期 - 促銷活動依據、部門別 - 做為文件簽核流程的應用)。

權限管理不只是在系統面必須建立 (例如 linux/windows 內建的系統管理群組及使用者),在企業邏輯與應用面也在 Client/Server 架構風行後佔有極重要的份量。如何設計出一個能具有彈性的架構和做好屬性的分類儼然成為另一個課題。

Authorization / Authentication 以技術實作面來說,各家提出不少各自 (vendor-specific) 的解決方案 (total-solution)、架構 (architecture)、機制 (mechanism) - 諸如: JAAS、LDAP、pow2acl、Form-based Authetication 等等 (族繁不及備載),我想這些都不在此篇預設的討論範圍中。

此篇主要的目的是: 討探對於權限管理於系統分析設計時的思考方向。

自己本身最先接觸到有關這方面的 pattern 就是 IBM SanFrancisco 裡提供的 Party Management (該產品已 phase out,演化為 IBM WebSphere Business Components - IBM WSBC)。雖然這個 SF 內建的 framework 立意良好、設計也算上等之選,但無奈開發者在諸多主觀客觀和環境因素下無法參透其奧妙之處進而發揚光大。

日後個人因緣際會又再碰上權限管理的問題,所以索性使出 google 大法,才頓然發現原來這方面的 patterns 在網際網路上還真是不少。以下先列出個人在這方面所參考的資料,供有興趣的讀者先行閱讀和研究。

Role Management Facility

Party Management Facility

Misc.

  • M. Fowler. Analysis Patterns: reusable object models, Addison-Wesley, Reading MA, 1997. ISBN 0-201-89542-0.
  • R. Johnson, and B. Woolf. "Type Object." Pattern Languages of Program Design 3, Addison-Wesley, MA, 1997. ISBN 0-201-31011-2.

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.1.5a Build:#411 Mar 16, 2006) - Bug/feature request - Contact Administrators