def on_login(self, username):
        """Process a successful login event.

        :param username: The logged in user name.
        :type username: str
        """
Process a successful login event.

        :param username: The logged in user name.
        :type username: str
        
cherrypy/lib/cptools.py