]>
Commit | Line | Data |
---|---|---|
abb929f0 | 1 | /* |
4ac4a490 | 2 | * Copyright (C) 1996-2017 The Squid Software Foundation and contributors |
abb929f0 | 3 | * |
bbc27441 AJ |
4 | * Squid software is distributed under GPLv2+ license and includes |
5 | * contributions from numerous individuals and organizations. | |
6 | * Please see the COPYING and CONTRIBUTORS files for details. | |
abb929f0 | 7 | */ |
8 | ||
a260430e CT |
9 | #ifndef SQUID_EXTUSER_H |
10 | #define SQUID_EXTUSER_H | |
63be0a78 | 11 | |
2f1431ea AJ |
12 | #if USE_AUTH |
13 | ||
3ad63615 AR |
14 | #include "acl/Acl.h" |
15 | #include "acl/Checklist.h" | |
16 | #include "acl/Data.h" | |
abb929f0 | 17 | |
18 | class ACLExtUser : public ACL | |
19 | { | |
b001e822 | 20 | MEMPROXY_CLASS(ACLExtUser); |
abb929f0 | 21 | |
741c2986 | 22 | public: |
abb929f0 | 23 | ACLExtUser(ACLData<char const *> *newData, char const *); |
24 | ACLExtUser (ACLExtUser const &old); | |
25 | ACLExtUser & operator= (ACLExtUser const &rhs); | |
26 | ~ACLExtUser(); | |
27 | ||
4eac3407 | 28 | /* ACL API */ |
abb929f0 | 29 | virtual char const *typeString() const; |
30 | virtual void parse(); | |
4eac3407 | 31 | virtual void parseFlags(); |
abb929f0 | 32 | virtual int match(ACLChecklist *checklist); |
8966008b | 33 | virtual SBufList dump() const; |
4b0f5de8 | 34 | virtual bool empty () const; |
abb929f0 | 35 | virtual ACL *clone()const; |
36 | ||
37 | private: | |
abb929f0 | 38 | ACLData<char const *> *data; |
39 | char const *type_; | |
40 | }; | |
41 | ||
2f1431ea | 42 | #endif /* USE_AUTH */ |
a260430e | 43 | #endif /* SQUID_EXTUSER_H */ |
f53969cc | 44 |