#include <UserData.h>
Public Member Functions | |
~ACLUserData () override | |
ACLUserData () | |
bool | match (char const *user) override |
SBufList | dump () const override |
void | parse () override |
bool | empty () const override |
virtual void | prepareForUse () |
Private Types | |
typedef std::set< SBuf, bool(*)(const SBuf &, const SBuf &)> | UserDataNames_t |
Private Member Functions | |
MEMPROXY_CLASS (ACLUserData) | |
const Acl::Options & | lineOptions () override |
supported ACL "line" options (e.g., "-i") More... | |
Private Attributes | |
UserDataNames_t | userDataNames |
struct { | |
bool case_insensitive | |
bool required | |
} | flags |
Static Private Attributes | |
static Acl::BooleanOptionValue | CaseInsensitive_ |
whether parse() is called in a case insensitive context More... | |
Detailed Description
Definition at line 18 of file UserData.h.
Member Typedef Documentation
◆ UserDataNames_t
|
private |
Definition at line 37 of file UserData.h.
Constructor & Destructor Documentation
◆ ~ACLUserData()
|
inlineoverride |
Definition at line 23 of file UserData.h.
◆ ACLUserData()
ACLUserData::ACLUserData | ( | ) |
Definition at line 74 of file UserData.cc.
References flags.
Member Function Documentation
◆ dump()
|
overridevirtual |
Implements ACLData< char const * >.
Definition at line 42 of file UserData.cc.
References debugs, flags, JoinContainerToSBuf(), and userDataNames.
◆ empty()
|
overridevirtual |
Implements ACLData< char const * >.
Definition at line 146 of file UserData.cc.
References debugs, flags, and userDataNames.
◆ lineOptions()
|
overrideprivatevirtual |
Reimplemented from ACLData< char const * >.
Definition at line 82 of file UserData.cc.
References CaseInsensitive_, and Acl::CaseSensitivityOption().
◆ match()
|
overridevirtual |
Implements ACLData< char const * >.
Definition at line 24 of file UserData.cc.
References debugs, flags, and userDataNames.
◆ MEMPROXY_CLASS()
|
private |
◆ parse()
|
overridevirtual |
Implements ACLData< char const * >.
Definition at line 91 of file UserData.cc.
References CaseInsensitive_, CaseInsensitveSBufCompare(), SBuf::cmp(), DBG_PARSE_NOTE, debugs, flags, ConfigParser::strtokFile(), SBuf::toLower(), and userDataNames.
◆ prepareForUse()
|
inlinevirtualinherited |
Member Data Documentation
◆ case_insensitive
bool ACLUserData::case_insensitive |
Definition at line 41 of file UserData.h.
◆ CaseInsensitive_
|
staticprivate |
Definition at line 32 of file UserData.h.
Referenced by lineOptions(), and parse().
◆
struct { ... } ACLUserData::flags |
Referenced by ACLUserData(), dump(), empty(), match(), and parse().
◆ required
bool ACLUserData::required |
Definition at line 42 of file UserData.h.
◆ userDataNames
|
private |
The documentation for this class was generated from the following files:
- src/acl/UserData.h
- src/acl/UserData.cc