|
Squid Web Cache master
|
#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") | |
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 | |
Definition at line 18 of file UserData.h.
|
private |
Definition at line 37 of file UserData.h.
|
inlineoverride |
Definition at line 23 of file UserData.h.
| ACLUserData::ACLUserData | ( | ) |
Definition at line 74 of file UserData.cc.
References flags.
|
overridevirtual |
Implements ACLData< char const * >.
Definition at line 42 of file UserData.cc.
References debugs, flags, JoinContainerToSBuf(), and userDataNames.
|
overridevirtual |
Implements ACLData< char const * >.
Definition at line 146 of file UserData.cc.
References debugs, flags, and userDataNames.
|
overrideprivatevirtual |
Reimplemented from ACLData< char const * >.
Definition at line 82 of file UserData.cc.
References CaseInsensitive_, and Acl::CaseSensitivityOption().
|
overridevirtual |
Implements ACLData< char const * >.
Definition at line 24 of file UserData.cc.
References debugs, flags, and userDataNames.
|
private |
|
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.
|
inlinevirtualinherited |
| bool ACLUserData::case_insensitive |
Definition at line 41 of file UserData.h.
|
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().
| bool ACLUserData::required |
Definition at line 42 of file UserData.h.
|
private |