~drizzle-trunk/drizzle/development

390.1.2 by Monty Taylor
Fixed copyright headers in drizzled/
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
499.2.10 by Mark Atwood
add editor format hints, and other useful metadata comments
3
660.1.3 by Eric Herman
removed trailing whitespace with simple script:
4
 *  Definitions required for Authentication plugin
499.2.10 by Mark Atwood
add editor format hints, and other useful metadata comments
5
390.1.2 by Monty Taylor
Fixed copyright headers in drizzled/
6
 *
1010 by Brian Aker
Replacing Sun employee copyright headers (aka... anything done by a Sun
7
 *  Copyright (C) 2008 Sun Microsystems
390.1.2 by Monty Taylor
Fixed copyright headers in drizzled/
8
 *
9
 *  This program is free software; you can redistribute it and/or modify
10
 *  it under the terms of the GNU General Public License as published by
11
 *  the Free Software Foundation; version 2 of the License.
12
 *
13
 *  This program is distributed in the hope that it will be useful,
14
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 *  GNU General Public License for more details.
17
 *
18
 *  You should have received a copy of the GNU General Public License
19
 *  along with this program; if not, write to the Free Software
20
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
21
 */
22
259 by Brian Aker
First pass on PAM auth
23
/*
390.1.2 by Monty Taylor
Fixed copyright headers in drizzled/
24
  Definitions required for Authentication plugin
259 by Brian Aker
First pass on PAM auth
25
*/
26
27
#ifndef DRIZZLED_PLUGIN_AUTHENTICATION_H
28
#define DRIZZLED_PLUGIN_AUTHENTICATION_H
29
942.1.14 by Monty Taylor
Changed authentication_st to class Authentication.
30
class Authentication
259 by Brian Aker
First pass on PAM auth
31
{
942.1.14 by Monty Taylor
Changed authentication_st to class Authentication.
32
public:
33
  Authentication() {}
34
  virtual ~Authentication() {}
35
36
  virtual bool authenticate(Session *, const char *)= 0;
37
38
};
259 by Brian Aker
First pass on PAM auth
39
40
#endif /* DRIZZLED_PLUGIN_AUTHENTICATION_H */