Remote Call Framework 3.1
RCF::SspiImpersonator Class Reference

Allows the server side of a SSPI-based connection to impersonate the client. Only applicable to connections using NTLM, Kerberos or Negotiate transport protocols. More...

#include <SspiFilter.hpp>

Public Member Functions

 SspiImpersonator (RcfSession &session)
 Impersonates the client associated with the RcfSession. Impersonation lasts until revertToSelf() is called, or the Win32NamedPipeImpersonator object is destroyed. More...
 
 ~SspiImpersonator ()
 Destroys the SspiImpersonator object, and ceases any impersonation. More...
 
void revertToSelf () const
 Ceases impersonation of the named pipe client. More...
 

Detailed Description

Allows the server side of a SSPI-based connection to impersonate the client. Only applicable to connections using NTLM, Kerberos or Negotiate transport protocols.

Constructor & Destructor Documentation

◆ SspiImpersonator()

RCF::SspiImpersonator::SspiImpersonator ( RcfSession session)

Impersonates the client associated with the RcfSession. Impersonation lasts until revertToSelf() is called, or the Win32NamedPipeImpersonator object is destroyed.

◆ ~SspiImpersonator()

RCF::SspiImpersonator::~SspiImpersonator ( )

Destroys the SspiImpersonator object, and ceases any impersonation.

Member Function Documentation

◆ revertToSelf()

void RCF::SspiImpersonator::revertToSelf ( ) const

Ceases impersonation of the named pipe client.


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