~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/authentication.h

Merged in latest plugin-slot-reorg.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
 
 
 
3
 *
4
4
 *  Definitions required for Authentication plugin
5
 
 
6
5
 *
7
6
 *  Copyright (C) 2008 Sun Microsystems
8
7
 *
20
19
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
21
20
 */
22
21
 
23
 
/*
24
 
  Definitions required for Authentication plugin
25
 
*/
26
 
 
27
22
#ifndef DRIZZLED_PLUGIN_AUTHENTICATION_H
28
23
#define DRIZZLED_PLUGIN_AUTHENTICATION_H
29
24
 
42
37
 
43
38
  virtual bool authenticate(Session *, const char *)= 0;
44
39
 
 
40
  static void add(plugin::Authentication *auth);
 
41
  static void remove(plugin::Authentication *auth);
 
42
  static bool isAuthenticated(Session *session, const char *password);
45
43
};
46
44
 
47
45
} /* namespace plugin */