#include "security.h"
Definition at line 279 of file security.h.
epics::pvAccess::AuthorizationRegistry::AuthorizationRegistry |
( |
| ) |
|
epics::pvAccess::AuthorizationRegistry::~AuthorizationRegistry |
( |
| ) |
|
void epics::pvAccess::AuthorizationRegistry::add |
( |
int |
prio, |
|
|
const AuthorizationPlugin::shared_pointer & |
plugin |
|
) |
| |
Definition at line 265 of file security.cpp.
270 throw std::runtime_error(
"AuthorizationRegistry busy");
271 if(map.find(prio)!=map.end())
272 THROW_EXCEPTION2(std::logic_error,
"Authorization plugin already registered with this priority");
#define THROW_EXCEPTION2(TYPE, MSG)
Definition at line 258 of file security.cpp.
262 return authGbl->authorizers;
#define assert(exp)
Declare that a condition should be true.
LIBCOM_API void epicsStdCall epicsThreadOnce(epicsThreadOnceId *id, EPICSTHREADFUNC, void *arg)
bool epics::pvAccess::AuthorizationRegistry::remove |
( |
const AuthorizationPlugin::shared_pointer & |
plugin | ) |
|
Definition at line 276 of file security.cpp.
280 throw std::runtime_error(
"AuthorizationRegistry busy");
281 for(map_t::iterator it(map.begin()), end(map.end()); it!=end; ++it) {
282 if(it->second==plugin) {
void epics::pvAccess::AuthorizationRegistry::run |
( |
const std::tr1::shared_ptr< PeerInfo > & |
peer | ) |
|
Definition at line 290 of file security.cpp.
296 for(map_t::iterator it(map.begin()), end(map.end()); it!=end; ++it)
298 (it->second)->authorize(peer);
#define assert(exp)
Declare that a condition should be true.
The documentation for this class was generated from the following files: