mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Adds support to USER collection, setuid action and USERID variable
More details on: #1026, #1024, #1048
This commit is contained in:
@@ -45,7 +45,8 @@ namespace collection {
|
||||
class Collections :
|
||||
public std::unordered_map<std::string, Collection *> {
|
||||
public:
|
||||
Collections(Collection *global, Collection *ip, Collection *session);
|
||||
Collections(Collection *global, Collection *ip, Collection *session,
|
||||
Collection *user);
|
||||
~Collections();
|
||||
|
||||
void store(std::string key, std::string value);
|
||||
@@ -87,10 +88,12 @@ class Collections :
|
||||
std::string m_global_collection_key;
|
||||
std::string m_ip_collection_key;
|
||||
std::string m_session_collection_key;
|
||||
std::string m_user_collection_key;
|
||||
|
||||
Collection *m_global_collection;
|
||||
Collection *m_ip_collection;
|
||||
Collection *m_session_collection;
|
||||
Collection *m_user_collection;
|
||||
};
|
||||
|
||||
} // namespace collection
|
||||
|
Reference in New Issue
Block a user