#include <nawa/filter/AccessFilterList.h>
Public Member Functions | |
virtual | ~AccessFilterList () |
AccessFilterList () | |
AccessFilterList (AccessFilterList const &other) | |
AccessFilterList & | operator= (const AccessFilterList &other) |
AccessFilterList (AccessFilterList &&other) noexcept | |
AccessFilterList & | operator= (AccessFilterList &&other) noexcept |
bool & | filtersEnabled () noexcept |
bool | filtersEnabled () const noexcept |
AccessFilterList & | filtersEnabled (bool value) noexcept |
std::vector< BlockFilter > & | blockFilters () noexcept |
std::vector< BlockFilter > const & | blockFilters () const noexcept |
AccessFilterList & | blockFilters (std::vector< BlockFilter > value) noexcept |
std::vector< AuthFilter > & | authFilters () noexcept |
std::vector< AuthFilter > const & | authFilters () const noexcept |
AccessFilterList & | authFilters (std::vector< AuthFilter > value) noexcept |
std::vector< ForwardFilter > & | forwardFilters () noexcept |
std::vector< ForwardFilter > const & | forwardFilters () const noexcept |
AccessFilterList & | forwardFilters (std::vector< ForwardFilter > value) noexcept |
Structure in which all filters that should be applied by the RequestHandler can be included. The filters will be processed from the first element in a vector to the last element, block filters first, then auth filters, then forward filters. If one filter leads to a block/forward/denied access, all following filters will be ignored. Filters can only be applied statically on app initialization as part of the AppInit struct (for thread-safety).
Definition at line 40 of file AccessFilterList.h.
|
virtual |
nawa::AccessFilterList::AccessFilterList | ( | ) |
nawa::AccessFilterList::AccessFilterList | ( | AccessFilterList const & | other | ) |
|
noexcept |
AccessFilterList & nawa::AccessFilterList::operator= | ( | const AccessFilterList & | other | ) |
|
noexcept |
|
noexcept |
Is the filter module enabled? If false, no filters will be applied.
|
noexcept |
|
noexcept |
|
noexcept |
List of BlockFilter objects to be applied.
|
noexcept |
|
noexcept |
|
noexcept |
List of AuthFilter objects to be applied.
|
noexcept |
|
noexcept |
|
noexcept |
List of ForwardFilter objects to be applied.
|
noexcept |
|
noexcept |