Document Actions

PlonePASとPluggableAuthService

MySQLでPlone2.5の認証をやろうという件

どうやらPlonePASというよりPluggableAuthServiceというものを理解しないといけないらしい。
でもどっちのキーワードで検索してもあまり多くの情報は拾えないのよね。
トライアンドエラー、ソース読む、しかないかな。

PluggableAuthServiceとPlonePASの関係
PluggableAuthServiceは以前から存在するZopeのプロダクトで、
Plone2.5からGRUFに代わってploneのユーザ管理の為に導入されたらしい。

ploneをインストールするとZopeのRoot Folderにあるacl_userもPluggableAuthServiceで
置き換えられる。

PlonePASというのはPluggableAuthServiceをploneで使う為のアダプタで
「PAS」はPluggableAuthServiceの略(たぶん)
Root Folder直下のacl_userとploneインスタンス直下のacl_userを比較してみると少々違いが有ることがわかる。
plone直下のacl_usersには以下のオブジェクトが増えている
 
Root Folder直下のacl_user plone直下のacl_user
- mutable_properties
 - portal_role_manager
 - source_groups
 - user_factory(Plone User Factory)
また以下は代替とおもわれる
 - roles → local_roles
 - users → source_users

PluggableAuthServiceフォルダでは通常のFolderとは追加できるオブジェクトの種類が異なる。
---------------------------------------------------
[PluggableAuthService]由来
 - Challenge Protocol Chooser Plugin
 - Cookie Auth Helper
 - Delegating Multi Plugin
 - Domain Authentication Plugin
 - Dynamic Groups Plugin
 - HTTP Basic Auth Helper
 - Inline Auth Helper
 - Local Role Plugin
 - Recursive Groups Plugin
 - Request Type Sniffer Plugin
 - Scriptable Plugin
 - Search Principals Plugin
 - Session Auth Helper
 - ZODB Group Manager
 - ZODB Role Manager
 - ZODB User Manager

[GenericSetup]由来
 - Generic Setup Tool

[StandardCacheManagers]由来
 - RAM Cache Manager

[PlonePAS]由来
 - Cookie Crumbling Plugin
 - Extended Cookie Auth Helper
 - GRUF Bridge
 - Group Aware Role Manager
 - Group Manager
 - Local Roles Manager
 - Plone User Factory
 - User Manager
 - ZODB Mutable Property Provider

---------------------------------------------------
SQLPASPluginはPluggableAuthServiceとPlonePASベースでDBを使ったユーザ管理を
実現するプロダクト。
READMEによると、以下の2つの機能が提供される
 1. SQLベースで認証する
 2. SQLベースでユーザプロパティの読み書きをする
また、現在はPlonePASに依存しているが、将来的に非依存にする予定らしい。
SQLiteとPostgreSQLで検証されてる。


SQLPASPluginを入れると以下のオブジェクトが追加可能になる。
---------------------------------------------------
[SQLPASPlugin]
 - SQL Mutable Property Provider
 - SQL User Manager
---------------------------------------------------

とここまで来てふと気がついたんだけど、「Scriptable Plugin」をSQLベースに特化させて
お手軽設定にしたのがSQLPASPlugin?
逆に言うと「Scriptable Plugin」を使えばZMIからほぼ何でもできてしまいそう。

ちなみにhttp://dev.plone.org/collective/browser/PASPlugins/SQLPASPlugin/branchesをみると
role管理も組込んだブランチが登録されている。
(追加可能オブジェクトに SQL Role Manager が増える)
Categoria(s)
plone
O URL para efectuar trackback desta entrada é:
http://www.wedgeshape.com/wedge/gwbs/plonepas-pluggableauthservice/tbping

Plone2.5のRadius認証Plugin

Posted by 清水川記 at 2007-07-07 19:45
PASRadius - Radius authentication plugin for PluggableAuthService ver 0.1 七夕リリース。 PASRadius-0.1.tgz Plone-JP のMLでPASの...
Add comment

You can add a comment by filling out the form below. Plain text formatting.

(Required)
(Required)
(Required)
(Required)
Captcha Image

« July 2008 »
Su Mo Tu We Th Fr Sa
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Sobre este blog
Garage with Blue Sky 略してGwBS =青空車庫。 2台のFIAT/Bertone X1/9を乗り継いで、2度目のエンジンオーバーホール中にX1/9 Turbo(3台目)に乗り換え。 その他PHP、Zope、庭作りとか散歩とか。
Entradas recentes
306乗り換え nishi 2007-12-17
似ているようで違う2台 nishi 2007-08-13
マフラー修理 nishi 2007-01-14
継続車検、通る nishi 2007-01-14
白黒Bertoneの解体完了 nishi 2006-12-11
Comentários recentes
Re:伊勢原1300の解体 Anonymous User 2007-09-07
Re:似ているようで違う2台 Anonymous User 2007-09-02
Re:PluggableAuthService-1.4 nishi 2007-02-13
Re:SQLPASPlugin 0.6betaを試してみる Tomohiko HORI 2007-02-07
Re:SQLPASPlugin 0.6betaを試してみる Tomohiko HORI 2007-01-19
 

Powered by Plone, the Open Source Content Management System