2 * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
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.
9 #ifndef SQUID_ACLURLLOGIN_H
10 #define SQUID_ACLURLLOGIN_H
14 #include "acl/Strategised.h"
15 #include "acl/Strategy.h"
17 class ACLUrlLoginStrategy
: public ACLStrategy
<char const *>
21 virtual int match (ACLData
<char const *> * &, ACLFilledChecklist
*, ACLFlags
&);
22 virtual bool requiresRequest() const {return true;}
24 static ACLUrlLoginStrategy
*Instance();
25 /* Not implemented to prevent copies of the instance. */
26 /* Not private to prevent brain dead g+++ warnings about
27 * private constructors with no friends */
28 ACLUrlLoginStrategy(ACLUrlLoginStrategy
const &);
31 static ACLUrlLoginStrategy Instance_
;
32 ACLUrlLoginStrategy() {}
34 ACLUrlLoginStrategy
&operator=(ACLUrlLoginStrategy
const &);
41 static ACL::Prototype RegistryProtoype
;
42 static ACL::Prototype LegacyRegistryProtoype
;
43 static ACLStrategised
<char const *> RegistryEntry_
;
46 #endif /* SQUID_ACLURLLOGIN_H */