#include "sbuf/Algorithms.h"
#include "util.h"
+const Acl::ParameterFlags &
+ACLUserData::supportedFlags() const
+{
+ static const Acl::ParameterFlags flagNames = { "-i", "+i" };
+ return flagNames;
+}
+
bool
ACLUserData::match(char const *user)
{
bool match(char const *user);
virtual SBufList dump() const;
void parse();
+ virtual const Acl::ParameterFlags &supportedFlags() const;
bool empty() const;
virtual ACLData<char const *> *clone() const;
# pattern match on Referer header [fast]
# Referer is highly unreliable, so use with care
- acl aclname ident username ...
+ acl aclname ident [-i] username ...
acl aclname ident_regex [-i] pattern ...
# string match on ident output [slow]
# use REQUIRED to accept any non-null ident.
# match against attributes a users issuing CA SSL certificate
# attribute is one of DN/C/O/CN/L/ST or a numerical OID [fast]
- acl aclname ext_user username ...
+ acl aclname ext_user [-i] username ...
acl aclname ext_user_regex [-i] pattern ...
# string match on username returned by external acl helper [slow]
# use REQUIRED to accept any non-null user name.