-
Hi everybody, in older ZMS versions (python2) we used CookieCrumbler to setup HTML logins. Since this is no option anymore, what is the recommended integration for ZMS5? I looked into PluggableAuthService but couldn't figure out how to implement it into a ZMS Instance. Thanks for your help, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @togis The PluggableAuthService-Object replaces the minimalistic default acl_user-container. A simple setup may look like this:
Although default-PAS-Plugin work in many cases, for ZMS there is an optional set of basic plugins:
Each plugin contains a python script as "content" as a programming template to implement its functionality (e.g. getting roles from a database). Actually the whole architecture is not easy to understand: Hope you got some inspirations, |
Beta Was this translation helpful? Give feedback.
Hi @togis
authentication basically is done by Zope; the PluggableAuthService provides an interface for this purpose. In brief: the auth process is splitted into a bunch of tasks; one or more tasks are done by separate plugins. The plugins work in a chain and provide a standardized PAS-API for data processing. At the end of the chain, a valid credential (username/pass/roles) is given to Zope.
The PluggableAuthService-Object replaces the minimalistic default acl_user-container. A simple setup may look like this: