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... | |
Allows the server side of a SSPI-based connection to impersonate the client. Only applicable to connections using NTLM, Kerberos or Negotiate transport protocols.
RCF::SspiImpersonator::SspiImpersonator | ( | RcfSession & | session | ) |
Impersonates the client associated with the RcfSession. Impersonation lasts until revertToSelf() is called, or the Win32NamedPipeImpersonator object is destroyed.
RCF::SspiImpersonator::~SspiImpersonator | ( | ) |
Destroys the SspiImpersonator object, and ceases any impersonation.
void RCF::SspiImpersonator::revertToSelf | ( | ) | const |
Ceases impersonation of the named pipe client.