Leosac
0.8.0
Open Source Access Control
|
Validate a Group object's attributes, throwing ModelException if some attributes are invalid. More...
#include <Group.hpp>
Static Public Member Functions | |
static void | validate (const Group &grp) |
Validate the group's attributes. More... | |
static void | validate_name (const std::string &name) |
Validate a Group object's attributes, throwing ModelException if some attributes are invalid.
Validations rules:
name
must contains ascii alphanumeric character, "-", "_" or ".".
|
static |
|
static |