<div>hi, grokkers,</div><div><br></div><div><b>My problem:</b></div><div>I can not use PluggableAuthenticationPlugin from zope.pluggableauth to do a session based auth.</div><div><br></div><div><b>Steps I took:</b></div><div>
1. added the following lines to my gork.Application:</div><div> </div><div>    grok.local_utility(auth.UserAuthenticatorPlugin,</div><div>                       provides=IAuthenticatorPlugin,</div><div>                       name=&#39;users&#39;)</div>
<div>    grok.local_utility(PluggableAuthentication,provides=IAuthentication,</div><div>                       setup=auth.setup_authentication,</div><div>                       )</div><div><br><div>2. created corresponding authenticatorPlugin and credentialsPlugin, and add them to pau through setup_authentication.</div>
</div><div><br></div><div><b>Results</b>:</div><div>The authentication utility is not called at all. only princialRegistry(from zope.principalregistry which is a globalsite utility that implements IAuthentication.) works.</div>
<div><br></div><div>Expected:</div><div>The local authentication utility should work and substitute the global one.</div><div><br></div><div><b><u>How can I fix the above problem??</u></b> </div><div><br></div>