To download this file, please login or click here to register
Description:
This class is really useful when working in any large infrastructure. It enables the code to impersonate a security token and in that way get past the limited single Kerberos hop issue. It enables services, processes and even websites (if permissioned properly) to run under a different account for a set period prior to invoking the 'fRevertToSelf()' method which sets the impersonate back to its orginal token. Usage is: 1. use the method: fSwapSecurityToken(username, password, false); (include the domain if you are on one). 2. use the method: fImpersonate(); to impersonate the username and password 3. When done witht he impersonation use the method: fRevertToSelf(); to go back to the original token you came in on.
Submitted On:
30 Jun 2010
Submitted By:
Neil Rabin (Neil)
File Size:
1.06 Kb
Downloads:
0
Support:
Click Here
Credits
0
Rating:
stars/0.gifTotal Votes:0

NRZEE BLOG

Blog

NRZEE Managing Director Neil Rabin rss

  • REGISTER HERE FOR FREE
  • REGISTER HERE FOR FREE