A set of Session members describing the current authenticated user. More...
#include <user.h>
Public Types | |
| enum | PasswordType { NONE, PLAIN_TEXT, MYSQL_HASH } |
| typedef boost::shared_ptr< User > | shared_ptr |
|
typedef boost::shared_ptr < const User > | const_shared_ptr |
| typedef const User & | const_reference |
Public Member Functions | |
| virtual void | getSQLPath (std::string &arg) const |
| bool | hasPassword () const |
| const std::string & | address () const |
| void | setAddress (const char *newip) |
| const std::string & | username () const |
| void | setUser (const std::string &newuser) |
| PasswordType | getPasswordType (void) const |
| void | setPasswordType (PasswordType newpassword_type) |
| const std::string & | getPasswordContext () const |
| void | setPasswordContext (const char *newpassword_context, size_t size) |
Static Public Member Functions | |
| static DRIZZLED_API shared_ptr | make_shared () |
Private Attributes | |
| PasswordType | password_type |
| std::string | _user |
| std::string | _address |
| std::string | password_context |
A set of Session members describing the current authenticated user.