InfiniTec - Henning Krauses Blog

Don't adjust your mind - it's reality that is malfunctioning

Security class library updated

Several changes in this release… so a new class diagram is advised:


Class diagram of the InfiniTec.Security 1.4 package (click to enlarge)

Breaking change is the renaming of the *SecurityContext* classes to *ImpersonationScope* classes. Additionally, a new base class has been introduced, the ImpersonationScope class, which essentially takes a username/password combination and does the impersonation.

Also new is the privilege handling: Privileges held by a WindowsIdentity can be enumerated, activated and permanently removed from the token.

Finally, the IdentityResolver can be used for two things:

  1. Translate a SID to an NT account name and vice versa on a remote machine.
  2. Identify the type of an account (User, group, computer, alias,…)

Change log

  • The *SecurityContext* classes have been renamed to *ImpersonationScope*
  • The SecurityContext class has been renamed to CallbackImpersonationScope
  • New ImpersonationScope class, which accepts a username/password combination
  • The AcquireCredentialCallbackEventHandler class has been removed in favor of the EventHandler<AcquireCredentialEventArgs> class
  • Privilege Management: The Privileges and Privilege classes allows the manipulation of privileges held by a WindowsIdentity.
  • New IdentityResolver. Basically, the same functionality as IdentityReference.Translate(). However, a remote computer can be used for the translation process. Additionally, the type of the account type (user, group, computer, etc) is returned

Downloads

InfiniTec.Security_1.4_Source.zip (51,460 Bytes)
Source code of the 1.4 version
InfiniTec.Security_1.4_Release.zip (48,179 Bytes)
Release build with debug symbols. Signed with the InfiniTec private key
InfiniTec.Security_1.4_Documentation.zip (240,624 Bytes)
Documentation of this release as CHM file.

Technorati:

Posted by Henning Krause on Sunday, October 29, 2006 12:00 AM, last modified on Sunday, October 29, 2006 11:00 AM
Permalink | Post RSSRSS comment feed