~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
 *  Definitions required for Authentication plugin
4
5
 *
5
6
 *  Copyright (C) 2008 Sun Microsystems
36
37
 
37
38
  virtual bool authenticate(Session *, const char *)= 0;
38
39
 
 
40
  static void add(plugin::Authentication *auth);
 
41
  static void remove(plugin::Authentication *auth);
 
42
  static bool isAuthenticated(Session *session, const char *password);
39
43
};
40
44
 
41
45
} /* namespace plugin */