~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/auth_pam/auth_pam.cc

  • Committer: Brian Aker
  • Date: 2009-10-12 22:46:41 UTC
  • mfrom: (1130.2.27 plugin-base-class)
  • Revision ID: brian@gaz-20091012224641-gjo56i190y8c98xg
Merge Monty, default class.

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
class Auth_pam : public drizzled::plugin::Authentication
83
83
{
84
84
public:
 
85
  Auth_pam(std::string name_arg)
 
86
    : drizzled::plugin::Authentication(name_arg) {}
85
87
  virtual bool authenticate(Session *session, const char *password)
86
88
  {
87
89
    int retval;
111
113
 
112
114
static int initialize(drizzled::plugin::Registry &registry)
113
115
{
114
 
  auth= new Auth_pam();
 
116
  auth= new Auth_pam("auth_pam");
115
117
  registry.add(auth);
116
118
  return 0;
117
119
}