~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/drizzle_protocol/drizzle_protocol.cc

This modifies basic auth such that:

1) We now by default only bind to localhost.
2) We now have a plugin which creates the auth_all behavior.
3) Anonymous logins only work if enabled on auth_all.

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
          po::value<buffer_constraint>(&buffer_length)->default_value(16384),
135
135
          N_("Buffer length."));
136
136
  context("bind-address",
137
 
          po::value<std::string>()->default_value(""),
 
137
          po::value<std::string>()->default_value("localhost"),
138
138
          N_("Address to bind to."));
139
139
  context("max-connections",
140
140
          po::value<uint32_t>(&ListenDrizzleProtocol::drizzle_counters->max_connections)->default_value(1000),