[CalendarServer-changes] [404]
CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/
directory/appleopendirectory.py
source_changes at macosforge.org
source_changes at macosforge.org
Thu Nov 9 12:16:57 PST 2006
Revision: 404
http://trac.macosforge.org/projects/calendarserver/changeset/404
Author: wsanchez at apple.com
Date: 2006-11-09 12:16:57 -0800 (Thu, 09 Nov 2006)
Log Message:
-----------
authenticate -> verifyCredentials
Modified Paths:
--------------
CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/directory/appleopendirectory.py
Modified: CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/directory/appleopendirectory.py
===================================================================
--- CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/directory/appleopendirectory.py 2006-11-09 20:16:23 UTC (rev 403)
+++ CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/directory/appleopendirectory.py 2006-11-09 20:16:57 UTC (rev 404)
@@ -28,6 +28,8 @@
import opendirectory
import dsattributes
+from twisted.cred.credentials import UsernamePassword
+
from twistedcaldav.directory.directory import DirectoryService, DirectoryRecord
class OpenDirectoryService(DirectoryService):
@@ -89,8 +91,8 @@
"""
Open Directory implementation of L{IDirectoryRecord}.
"""
- def authenticate(self, credentials):
- if isinstance(credentials, credentials.UsernamePassword):
+ def verifyCredentials(self, credentials):
+ if isinstance(credentials, UsernamePassword):
return opendirectory.authenticateUser(self.directory, self.shortName, credentials.password)
return False
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061109/722afd62/attachment.html
More information about the calendarserver-changes
mailing list