16 #include "wvstringlist.h"
35 bool check_pam_status(WvStringParm step);
42 WvPam(WvStringParm svcname);
47 WvPam(WvStringParm svcname, WvStringParm rhost,
48 WvStringParm user = WvString::null,
49 WvStringParm password = WvString::null);
57 WvStringParm user = WvString::null,
58 WvStringParm password = WvString::null);
WvString getuser() const
Get the user's name.
WvError err
Check here to see if the user is validated or not.
void getgroups(WvStringList &groups) const
Get the groups that the currently sessioned user is logged in with.
WvString is an implementation of a simple and efficient printable-string class.
A WvLog stream accepts log messages from applications and forwards them to all registered WvLogRcv's.
WvPam(WvStringParm svcname)
Start up PAM (presumably you will want to call authenticate() later.
bool authenticate(WvStringParm rhost=WvString::null, WvStringParm user=WvString::null, WvStringParm password=WvString::null)
Authenticate the user from rhost with password.
A variant of WvErrorBase suitable for embedding as a member of your own object, preferably called 'er...
This is a WvList of WvStrings, and is a really handy way to parse strings.