public function onLogin( Event $event )
    {
        $adapter = $this->getAuthenticationAdapterFactory()
                        ->factory( $event->getParams() );
        $result  = $event->getAuthenticationService()
                         ->authenticate( $adapter );
        $event->setResult( $result );
        return $result;
    }