| 255 | } |
| 256 | |
| 257 | SecurityConfig_rch |
| 258 | SecurityRegistry::default_config() const |
| 259 | { |
| 260 | #if OPENDDS_CONFIG_SECURITY |
| 261 | GuardType guard(lock_); |
| 262 | if (!default_config_ && !TheServiceParticipant->get_security()) { |
| 263 | Authentication_var a; |
| 264 | AccessControl_var b; |
| 265 | CryptoKeyExchange_var c; |
| 266 | CryptoKeyFactory_var d; |
| 267 | CryptoTransform_var e; |
| 268 | default_config_ = DCPS::make_rch<SecurityConfig>("NoPlugins", a, b, c, d, e, |
| 269 | DCPS::RcHandle<Utility>(), |
| 270 | ConfigPropertyList()); |
| 271 | } |
| 272 | #endif |
| 273 | return default_config_; |
| 274 | } |
| 275 | |
| 276 | void |
| 277 | SecurityRegistry::default_config(const SecurityConfig_rch& config) |
no test coverage detected