~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/console/console.cc

modifying folder structure

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 2009 Sun Microsystems
 
1
/* Copyright (C) 2009 Sun Microsystems, Inc.
2
2
 
3
3
   This program is free software; you can redistribute it and/or modify
4
4
   it under the terms of the GNU General Public License as published by
99
99
  virtual bool authenticate(void)
100
100
  {
101
101
    printDebug("authenticate");
102
 
    session->getSecurityContext().setUser(username);
 
102
    identifier::User::shared_ptr user= identifier::User::make_shared();
 
103
    user->setUser(username);
 
104
    session->setUser(user);
103
105
    return session->checkUser(password, db);
104
106
  }
105
107