ZCML File
configure.zcml

<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:browser="http://namespaces.zope.org/browser"
    >
<adapter
    factory="zope.app.security.browser.auth.AuthUtilitySearchView"
    provides="zope.app.form.browser.interfaces.ISourceQueryView"
    for="
       zope.app.security.interfaces.IAuthentication
       zope.publisher.interfaces.browser.IBrowserRequest
       "

    />
<adapter
    factory="zope.app.security.browser.principalterms.PrincipalTerms"
    provides="zope.app.form.browser.interfaces.ITerms"
    for="
       zope.app.security.interfaces.IPrincipalSource
       zope.publisher.interfaces.browser.IBrowserRequest
       "

    />
<browser:page
    class=".auth.HTTPBasicAuthenticationLogin"
    allowed_interface="zope.app.publisher.interfaces.http.ILogin"
    for="*"
    permission="zope.Public"
    name="failsafelogin.html"
    attribute="login"
    />
<browser:page
    class=".auth.HTTPAuthenticationLogin"
    allowed_interface="zope.app.publisher.interfaces.http.ILogin"
    for="*"
    permission="zope.Public"
    name="login.html"
    attribute="login"
    />
<browser:page
    class=".auth.HTTPAuthenticationLogout"
    allowed_interface="zope.app.publisher.interfaces.http.ILogout"
    for="*"
    permission="zope.Public"
    name="logout.html"
    attribute="logout"
    />
<browser:page
    class=".auth.LoginLogout"
    for="*"
    permission="zope.Public"
    name="login_logout"
    />
<browser:addform
    name="AddPermission.html"
    schema="zope.security.interfaces.IPermission"
    permission="zope.Security"
    label="Add Permission"
    fields="title description"
    content_factory="..permission.LocalPermission"
    />
<browser:addMenuItem
    title="Permission"
    description="A Security Permission"
    permission="zope.ManageServices"
    class="..permission.LocalPermission"
    view="AddPermission.html"
    />
<browser:editform
    name="edit.html"
    schema="zope.security.interfaces.IPermission"
    permission="zope.ManageServices"
    label="Edit Permission"
    menu="zmi_views"
    title="Edit"
    />
</configure>