~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/auth_pam/auth_pam.cc

Merge default plugin.

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
}