6 #ifndef __UNISECUREGEN_H
7 #define __UNISECUREGEN_H
9 #include "unifiltergen.h"
10 #include "unipermgen.h"
12 #include "wvstringlist.h"
42 void setcredentials(WvStringParm user,
const WvStringList &groups);
58 bool findperm(
const UniConfKey &key, UniPermGen::Type type);
68 virtual void gencallback(
const UniConfKey &key, WvStringParm value);
72 #endif // __UNISECUREGEN_H
virtual void flush_buffers()
Overridden methods.
virtual void commit()
Commits any changes.
virtual bool haschildren(const UniConfKey &key)
Returns true if a key has children.
virtual Iter * recursiveiterator(const UniConfKey &key)
Like iterator(), but the returned iterator is recursive, that is, it will return children of the imme...
WvString is an implementation of a simple and efficient printable-string class.
An abstract data container that backs a UniConf tree.
virtual WvString get(const UniConfKey &key)
Fetches a string value for a key from the registry.
UniPermGen wraps a tree encoding Unix-style permissions, and provides an API for setting and checking...
Represents a UniConf key which is a path in a hierarchy structured much like the traditional Unix fil...
UniSecureGen wraps a given generator and checks permissions (using a Unix-style scheme) before respon...
virtual Iter * iterator(const UniConfKey &key)
Returns an iterator over the children of the specified key.
This is a WvList of WvStrings, and is a really handy way to parse strings.
virtual bool exists(const UniConfKey &key)
Without fetching its value, returns true if a key exists.
virtual bool refresh()
Refreshes information about a key recursively.
A UniConfGen that delegates all requests to an inner generator.
virtual void set(const UniConfKey &key, WvStringParm value)
Stores a string value for a key into the registry.