Index: /main/waeup.sirp/trunk/src/waeup/sirp/applicants/authentication.py
===================================================================
--- /main/waeup.sirp/trunk/src/waeup/sirp/applicants/authentication.py	(revision 5902)
+++ /main/waeup.sirp/trunk/src/waeup/sirp/applicants/authentication.py	(revision 5903)
@@ -241,9 +241,27 @@
 
     def register(self, pau):
-        print "\n\n\nSETUP this PAU: %s\n\n\n" % pau
-        return
+        """Register our local applicants specific PAU components.
+
+        Applicants provider their own authentication system resulting
+        in a specialized credentials plugin and a specialized
+        authenticator plugin.
+
+        Here we tell a given PAU that these plugins exist and should
+        be consulted when trying to authenticate a user.
+
+        We stack our local plugins on top of the list, so that other
+        authentication mechanisms (the normal user authentication for
+        instance) have precedence and to avoid "account-shadowing".
+        """
+        # The local credentials plugin is registered under the name
+        # 'applicant_credentials' (see above).
+        pau.credentialsPlugins.append('applicant_credentials')
+        # The local authenticator plugin is registered under the name
+        # 'applicants' (subject to change?)
+        pau.authenticatorPlugins.append('applicants')
+        return pau
 
     def unregister(self, pau):
-        print "\n\n\nUNREGISTER the PAU: %s\n\n\n" % pau
+        return pau
     
     
