Index: main/waeup.kofa/trunk/src/waeup/kofa/applicants/authentication.py
===================================================================
--- main/waeup.kofa/trunk/src/waeup/kofa/applicants/authentication.py	(revision 9293)
+++ main/waeup.kofa/trunk/src/waeup/kofa/applicants/authentication.py	(revision 9335)
@@ -20,4 +20,6 @@
 """
 import grok
+from zope.component import getUtility
+from zope.password.interfaces import IPasswordManager
 from zope.pluggableauth.interfaces import IAuthenticatorPlugin
 from waeup.kofa.interfaces import IAuthPluginUtility, IUserAccount
@@ -43,4 +45,20 @@
     def user_type(self):
         return u'applicant'
+
+    def checkPassword(self, password):
+        """Check whether the given `password` matches the one stored by
+        students.
+
+        We additionally check if student account has been suspended.
+        """
+        if not isinstance(password, basestring):
+            return False
+        passwordmanager = getUtility(IPasswordManager, 'SSHA')
+        if not getattr(self.context, 'password', None):
+            # unset/empty passwords do never match
+            return False
+        if self.context.suspended == True:
+            return False
+        return passwordmanager.checkPassword(self.context.password, password)
 
 class ApplicantsAuthenticatorPlugin(StudentsAuthenticatorPlugin):
