human
Solve the following python programming problem given the following code:
def __init__(self, router, secret = 'secret') : 
    self.router = router 
    self.secret = secret 
    def authenticatorFactory() : 
        return ListenComponentAuthenticator (self.secret) 
xmlstream.XmlStreamServerFactory.__init__ (self, authenticatorFactory) 
    self.addBootstrap (xmlstream.STREAM_CONNECTED_EVENT, self.onConnectionMade) 
    self.addBootstrap (xmlstream.STREAM_AUTHD_EVENT, authenticatorFactory.onAuthenticated) 
    self.serial = 0 

    
    

    Fix the buggy line: self.addBootstrap (xmlstream.STREAM_AUTHD_EVENT, authenticatorFactory.onAuthenticated)
assistant
#Here is Python code to fix the buggy line: self.

self.addBootstrap (xmlstream.STREAM_AUTHD_EVENT, self.onAuthenticated)