[Checkins] SVN: zc.winauth/trunk/src/zc/winauth/configure.zcml Get rid of deprecated <localUtility>.

Gintautas Miliauskas gintas at pov.lt
Mon Sep 25 11:37:11 EDT 2006


Log message for revision 70369:
  Get rid of deprecated <localUtility>.
  

Changed:
  U   zc.winauth/trunk/src/zc/winauth/configure.zcml

-=-
Modified: zc.winauth/trunk/src/zc/winauth/configure.zcml
===================================================================
--- zc.winauth/trunk/src/zc/winauth/configure.zcml	2006-09-25 15:33:43 UTC (rev 70368)
+++ zc.winauth/trunk/src/zc/winauth/configure.zcml	2006-09-25 15:37:10 UTC (rev 70369)
@@ -3,12 +3,15 @@
     xmlns:browser="http://namespaces.zope.org/browser"
     i18n_domain="zc.winauth">
 
-  <localUtility class=".winauth.WindowsAuthenticationPlugin">
+  <class class=".winauth.WindowsAuthenticationPlugin">
+    <implements
+        interface="zope.annotation.interfaces.IAttributeAnnotatable"
+        />
     <require
         permission="zope.ManageContent"
         interface="zope.app.authentication.interfaces.IAuthenticatorPlugin"
         />
-  </localUtility>
+  </class>
 
   <browser:addMenuItem
       title="Windows Authentication Plugin"



More information about the Checkins mailing list