~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.cc

Moved service stuff into plugin/

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
#include <drizzled/show.h>
39
39
#include <drizzled/plugin/client.h>
40
40
#include "drizzled/plugin/scheduler.h"
 
41
#include "drizzled/plugin/authentication.h"
41
42
#include "drizzled/probes.h"
42
43
 
43
44
#include <algorithm>
608
609
 
609
610
bool Session::schedule()
610
611
{
611
 
  plugin::Registry &plugins= plugin::Registry::singleton();
612
 
 
613
 
  scheduler= plugins.scheduler.getScheduler();
 
612
  scheduler= plugin::SchedulerFactory::getScheduler();
614
613
 
615
614
  ++connection_count;
616
615
 
655
654
 
656
655
bool Session::checkUser(const char *passwd, uint32_t passwd_len, const char *in_db)
657
656
{
658
 
  plugin::Registry &plugins= plugin::Registry::singleton();
659
657
  LEX_STRING db_str= { (char *) in_db, in_db ? strlen(in_db) : 0 };
660
658
  bool is_authenticated;
661
659
 
673
671
    return false;
674
672
  }
675
673
 
676
 
  is_authenticated= plugins.authentication.authenticate(this, passwd);
 
674
  is_authenticated= plugin::Authentication::isAuthenticated(this, passwd);
677
675
 
678
676
  if (is_authenticated != true)
679
677
  {