pvAccessCPP  7.1.7-dev
Public Member Functions | List of all members
epics::pvAccess::AuthenticationPlugin Class Referenceabstract

Actor through which authentication exchanges are initiated. More...

#include <remote/pv/security.h>

Public Member Functions

 POINTER_DEFINITIONS (AuthenticationPlugin)
 
virtual bool isValidFor (const PeerInfo &peer) const
 Allow this plugin to be advertised to a particular peer. More...
 
virtual std::tr1::shared_ptr< AuthenticationSessioncreateSession (const std::tr1::shared_ptr< PeerInfo > &peer, std::tr1::shared_ptr< AuthenticationPluginControl > const &control, epics::pvData::PVStructure::shared_pointer const &data)=0
 Begin a new session with a peer. More...
 

Detailed Description

Actor through which authentication exchanges are initiated.

Definition at line 198 of file security.h.

Member Function Documentation

◆ createSession()

virtual std::tr1::shared_ptr<AuthenticationSession> epics::pvAccess::AuthenticationPlugin::createSession ( const std::tr1::shared_ptr< PeerInfo > &  peer,
std::tr1::shared_ptr< AuthenticationPluginControl > const &  control,
epics::pvData::PVStructure::shared_pointer const &  data 
)
pure virtual

Begin a new session with a peer.

Parameters
peerPartially initialized PeerInfo. See isValidFor(). PeerInfo::authority is also set. Caller transfers ownership to callee, which may modify.
controlcallee uses to asynchronously continue, and complete the session.
dataAlways NULL for client-type plugins. For server-type plugins, the result of initializationData() from the peer

◆ isValidFor()

virtual bool epics::pvAccess::AuthenticationPlugin::isValidFor ( const PeerInfo peer) const
inlinevirtual

Allow this plugin to be advertised to a particular peer.

At this point the PeerInfo has only been partially initialized with transport/protocol specific information: PeerInfo::peer, PeerInfo::transport, and PeerInfo::transportVersion.

Definition at line 209 of file security.h.


The documentation for this class was generated from the following file: