<?xml version="1.0"?>
<configure xmlns="http://namespaces.zope.org/zope"
           xmlns:browser="http://namespaces.zope.org/browser"
           xmlns:zcml="http://namespaces.zope.org/zcml"
           zcml:condition="have cas_authentication">

  <utility
      factory=".CASAuthenticationPlugin"
      provides="schooltool.app.interfaces.ISchoolToolAuthenticationPlugin" />

  <browser:page
      name="login.html"
      for=".ICASAuthenticationPlugin"
      layer="schooltool.skin.ISchoolToolLayer"
      class=".LoginView"
      permission="zope.Public"
      />

  <browser:page
      name="logout.html"
      for=".ICASAuthenticationPlugin"
      layer="schooltool.skin.ISchoolToolLayer"
      class=".LogoutView"
      permission="zope.Public"
      />

</configure>
