WvStreams
|
Public Member Functions | |
WvPam (WvStringParm svcname) | |
Start up PAM (presumably you will want to call authenticate() later. | |
WvPam (WvStringParm svcname, WvStringParm rhost, WvStringParm user=WvString::null, WvStringParm password=WvString::null) | |
Start up PAM, and authenticate user from rhost with password. | |
bool | authenticate (WvStringParm rhost=WvString::null, WvStringParm user=WvString::null, WvStringParm password=WvString::null) |
Authenticate the user from rhost with password. | |
void | getgroups (WvStringList &groups) const |
Get the groups that the currently sessioned user is logged in with. | |
WvString | getuser () const |
Get the user's name. | |
WvPam (WvStringParm svcname) | |
Start up PAM (presumably you will want to call authenticate() later. | |
WvPam (WvStringParm svcname, WvStringParm rhost, WvStringParm user=WvString::null, WvStringParm password=WvString::null) | |
Start up PAM, and authenticate user from rhost with password. | |
bool | authenticate (WvStringParm rhost=WvString::null, WvStringParm user=WvString::null, WvStringParm password=WvString::null) |
Authenticate the user from rhost with password. | |
void | getgroups (WvStringList &groups) const |
Get the groups that the currently sessioned user is logged in with. | |
WvString | getuser () const |
Get the user's name. | |
Public Attributes | |
WvError | err |
Check here to see if the user is validated or not. | |
Definition at line 21 of file debian/libwvstreams-dev/usr/include/wvstreams/wvpam.h.
WvPam::WvPam | ( | WvStringParm | svcname | ) |
Start up PAM (presumably you will want to call authenticate() later.
Definition at line 15 of file wvpam.cc.
References err, and WvErrorBase::seterr().
WvPam::WvPam | ( | WvStringParm | svcname, |
WvStringParm | rhost, | ||
WvStringParm | user = WvString::null , |
||
WvStringParm | password = WvString::null |
||
) |
Start up PAM, and authenticate user from rhost with password.
Definition at line 22 of file wvpam.cc.
References err, and WvErrorBase::seterr().
bool WvPam::authenticate | ( | WvStringParm | rhost = WvString::null , |
WvStringParm | user = WvString::null , |
||
WvStringParm | password = WvString::null |
||
) |
void WvPam::getgroups | ( | WvStringList & | groups | ) | const |
WvError WvPam::err |
Check here to see if the user is validated or not.
Definition at line 74 of file debian/libwvstreams-dev/usr/include/wvstreams/wvpam.h.