ZCML File
configure.zcml
[top]
/
zope
/
app
/
pluggableauth
/ configure.zcml
<
configure
xmlns
="
http://namespaces.zope.org/zope
"
xmlns:browser
="
http://namespaces.zope.org/browser
"
>
<
class
class
="
.PluggableAuthentication
"
>
<
factory
id
="
zope.app.services.PluggableAuthentication
"
/>
<
implements
interface
="
zope.annotation.interfaces.IAttributeAnnotatable
"
/>
<
require
permission
="
zope.ManageSite
"
interface
="
.interfaces.IPluggableAuthentication
"
/>
</
class
>
<
subscriber
handler
="
.PluggableAuthenticationAddSubscriber
"
for
="
.interfaces.IPluggableAuthentication
zope.app.container.interfaces.IObjectAddedEvent
"
/>
<
class
class
="
.BTreePrincipalSource
"
>
<
factory
id
="
zope.app.principalsources.BTreePrincipalSource
"
/>
<
allow
interface
="
zope.app.container.interfaces.IReadContainer
"
/>
<
require
permission
="
zope.ManageSite
"
interface
="
zope.app.container.interfaces.IWriteContainer
zope.app.container.interfaces.INameChooser
"
/>
<
allow
interface
="
.interfaces.IPrincipalSource
"
/>
</
class
>
<
class
class
="
.SimplePrincipal
"
>
<
factory
id
="
zope.app.principals.SimplePrincipal
"
/>
<
allow
interface
="
.interfaces.IUserSchemafied
"
/>
<
require
permission
="
zope.ManageSite
"
set_schema
="
.interfaces.IUserSchemafied
"
/>
</
class
>
<
browser:view
class
="
zope.app.pluggableauth.PrincipalAuthenticationView
"
permission
="
zope.Public
"
for
="
.interfaces.ILoginPasswordPrincipalSource
"
name
="
login
"
/>
<
include
package
="
.browser
"
/>
</
configure
>