IBM SYSTEMG G RUNTIME & NATIVE STORE
0.5
IBM Native Graph Computing and Storage System based on IBM Parallel Programming Library
|
store user information More...
#include <gShellSuperMgr.hpp>
Public Member Functions | |
userinfo_t (string u, string p) | |
void | set_username (const string &u) |
void | set_port (size_t p) |
set user port number of gShell service | |
size_t | get_port () |
get user port number of gShell service | |
void | set_host (const string &h) |
set user host of gShell service | |
string | get_host () |
get user host of gShell service | |
string | get_password () |
void | add_user (string user, string passwd) |
add user info | |
void | update_password (string passwd) |
update user info | |
void | disp_user (ostream &os=cout) |
bool | check_password (const string &pw) |
check if pw matches password | |
time_t | get_last_touch_time () |
time_t | get_expiration_time () |
void | set_last_touch_time (time_t t) |
void | set_expiration_time (time_t t) |
bool | is_expired () |
Protected Attributes | |
string | username |
string | password |
size_t | port |
string | host |
time_t | last_touch |
time_t | expire_time |
store user information