win visibility attributes
This commit is contained in:
@@ -50,3 +50,26 @@ CAClientSecurityPlugin::CAClientSecurityPlugin()
|
||||
|
||||
m_userAndHost->getSubField<PVString>("host")->put(buffer);
|
||||
}
|
||||
|
||||
|
||||
void AuthNZHandler::handleResponse(osiSockAddr* responseFrom,
|
||||
Transport::shared_pointer const & transport,
|
||||
epics::pvData::int8 version,
|
||||
epics::pvData::int8 command,
|
||||
size_t payloadSize,
|
||||
epics::pvData::ByteBuffer* payloadBuffer)
|
||||
{
|
||||
AbstractResponseHandler::handleResponse(responseFrom, transport, version, command, payloadSize, payloadBuffer);
|
||||
|
||||
epics::pvData::PVField::shared_pointer data =
|
||||
SerializationHelper::deserializeFull(payloadBuffer, transport.get());
|
||||
|
||||
transport->authNZMessage(data);
|
||||
}
|
||||
|
||||
SecurityPluginRegistry::SecurityPluginRegistry() {
|
||||
// install CA client security plugin by default
|
||||
installClientSecurityPlugin(CAClientSecurityPlugin::INSTANCE);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace epics {
|
||||
// when clients gets initial credentialsChanged call before create is called
|
||||
// and then on each change
|
||||
|
||||
class ChannelSecuritySession {
|
||||
class epicsShareClass ChannelSecuritySession {
|
||||
public:
|
||||
POINTER_DEFINITIONS(ChannelSecuritySession);
|
||||
|
||||
@@ -431,15 +431,7 @@ namespace epics {
|
||||
epics::pvData::int8 version,
|
||||
epics::pvData::int8 command,
|
||||
size_t payloadSize,
|
||||
epics::pvData::ByteBuffer* payloadBuffer)
|
||||
{
|
||||
AbstractResponseHandler::handleResponse(responseFrom, transport, version, command, payloadSize, payloadBuffer);
|
||||
|
||||
epics::pvData::PVField::shared_pointer data =
|
||||
SerializationHelper::deserializeFull(payloadBuffer, transport.get());
|
||||
|
||||
transport->authNZMessage(data);
|
||||
}
|
||||
epics::pvData::ByteBuffer* payloadBuffer);
|
||||
};
|
||||
|
||||
class epicsShareClass SecurityPluginRegistry :
|
||||
@@ -476,10 +468,7 @@ namespace epics {
|
||||
}
|
||||
|
||||
private:
|
||||
SecurityPluginRegistry() {
|
||||
// install CA client security plugin by default
|
||||
installClientSecurityPlugin(CAClientSecurityPlugin::INSTANCE);
|
||||
}
|
||||
SecurityPluginRegistry();
|
||||
|
||||
std::map<std::string, std::tr1::shared_ptr<SecurityPlugin> > m_clientSecurityPlugins;
|
||||
std::map<std::string, std::tr1::shared_ptr<SecurityPlugin> > m_serverSecurityPlugins;
|
||||
|
||||
@@ -4,9 +4,11 @@
|
||||
* in file LICENSE that is included with this distribution.
|
||||
*/
|
||||
|
||||
#include <pv/convert.h>
|
||||
|
||||
#define epicsExportSharedSymbols
|
||||
#include <pv/serializationHelper.h>
|
||||
#include <pv/introspectionRegistry.h>
|
||||
#include <pv/convert.h>
|
||||
|
||||
using namespace epics::pvData;
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
namespace epics {
|
||||
namespace pvAccess {
|
||||
|
||||
class SerializationHelper : public epics::pvData::NoDefaultMethods {
|
||||
class epicsShareClass SerializationHelper : public epics::pvData::NoDefaultMethods {
|
||||
public:
|
||||
|
||||
static epics::pvData::PVDataCreatePtr _pvDataCreate;
|
||||
|
||||
Reference in New Issue
Block a user