7 #include "uniconfpamconn.h" 8 #include "unisecuregen.h" 9 #include "unipermgen.h" 10 #include "uniunwrapgen.h" 11 #include "uniconfdaemonconn.h" 12 #include "uninullgen.h" 20 WvPam pam(
"uniconfd");
22 if (pam.authenticate(rhost,
"", WvString::null))
29 pam.getgroups(groups);
31 sec->setcredentials(user, groups);
32 newroot.mountgen(sec,
false);
37 _s->print(
"FAIL {Not Authorized}\n");
Retains all state and behavior related to a single UniConf daemon connection.
void flush_then_close(int msec_timeout)
flush the output buffer automatically as select() is called.
An IP address is made up of a "dotted quad" – four decimal numbers in the form www.xxx.yyy.zzz.
virtual const WvAddr * src() const
get the remote address from which the last data block was received.
Unified support for streams, that is, sequences of bytes that may or may not be ready for read/write ...
UniSecureGen wraps a given generator and checks permissions (using a Unix-style scheme) before respon...
UniConf instances function as handles to subtrees of a UniConf tree and expose a high-level interface...
This is a WvList of WvStrings, and is a really handy way to parse strings.
WvString is an implementation of a simple and efficient printable-string class.
Deprecated: a UniConfGen that delegates all requests to an inner UniConf.
UniPermGen wraps a tree encoding Unix-style permissions, and provides an API for setting and checking...
WvStreamClone simply forwards all requests to the "cloned" stream.