25 #include <zmqpp/zmqpp.hpp> 55 std::vector<std::string>
cmd_;
76 const std::string &name,
77 const std::vector<std::string> &auth_contexts,
78 const std::vector<DoormanAction> &actions);
84 zmqpp::socket &bus_sub();
89 void handle_bus_msg();
112 void command_send_recv(
const std::string &target_name, zmqpp::message msg);
std::shared_ptr< AuthTarget > AuthTargetPtr
This is the header file for a generated source file, GitSHA1.cpp.
std::map< std::string, zmqpp::socket > targets_
Socket (REP) connected to each target this doorman may have.
Helper struct to wrap an "action".
std::vector< DoormanAction > actions_
Implements a Doorman, that is, a component that will listen to authentication event and react accordi...
Leosac::Auth::AccessStatus on_
When should this action be done? on GRANTED or DENIED ?
std::vector< std::string > cmd_
The command to be send.
std::string target_
Target component.
Main class for the module, it create handlers and run them to, well, handle events and send command...