Commit Graph

18 Commits

Author SHA1 Message Date
Kevin Thompson
52322afeaa Updated comments. 2019-06-16 17:22:50 -04:00
Kevin Thompson
3b189d2865 Code cleanup
Fixed code style using CodeMaid.
2017-09-24 01:52:45 -04:00
antiduh
f0a2f85edf Comments. 2014-07-07 19:20:12 +00:00
antiduh
4279ae339d Fixed busted namespaces. 2014-07-05 14:32:04 +00:00
antiduh
b5b16530cc Rename Credential.Name to PrincipleName. PrincipleName comes from the security service provider, which may not correspond to the domain user name. For instance, if I'm using kerberos on my domain, my principle may be user@DIVISION.CORP.COM, meanwhile my username might be CORP\user. 2014-07-03 21:02:33 +00:00
antiduh
7503d37770 Updated comments. 2014-07-01 19:17:56 +00:00
antiduh
ce64bf9d9a Simplified object lifecycle verification. 2014-07-01 18:40:35 +00:00
antiduh
2e6962bcc0 Removed the finalizer from Credential. The unmanaged resources are captured by other managed objects, who themselves are finalizable objects (usually CriticalFinalizerObject or SafeHandles). 2014-07-01 18:39:16 +00:00
antiduh
b8fd4d9a07 Added a helpful flag to ServerContext to indicate to consumers whether it can support impersonation. Added checks to throw exceptions if impersonation is attempted on a ServerContext that does not support impersonation. Also modified the disposal behavior so that if the ServerContext is disposed while impersonation is occurring, impersonation is explicitly reverted. Consumers wishing to perform long-term impersonation must hold valid references to both the context and impersonation handle. 2014-07-01 15:52:00 +00:00
antiduh
dec1509835 Refactored Credential et al so that the security package is provided by name (string), and not an enum. Security packages are runtime enumerable, and new ones may be created that we don't have any idea of. 2014-06-30 15:36:20 +00:00
antiduh
5da12ad4c4 Split the Credential init code off into each concrete credential. 2014-06-30 15:32:31 +00:00
antiduh
372460a78f Reworking Credential so that it can be extended by a third party for adapting to other means of acquiring credentials. 2014-06-30 15:23:12 +00:00
antiduh
798d6be4ad Added more disposed checks. 2014-06-30 15:05:38 +00:00
antiduh
6ed1ab5f76 Added more disposed checks. 2014-06-30 14:49:26 +00:00
antiduh
cec7b8b88f Switch the rest of the API to the new TimeStamp structure. Fix the TimeStamp structure to handle dates that are past the upper limit of DateTime.MaxValue. 2014-06-29 16:39:42 +00:00
antiduh
5272979f19 Reworked the Expiry support to expose it in the first place, and to store and present it as a DateTime object. 2014-06-29 14:24:58 +00:00
antiduh
60ea145e86 Increase the reliability of QueryCredentialsAttribute_Name usage by wrapping a try-finally around the allocation that happens inside the CER. 2014-06-28 16:46:21 +00:00
antiduh
c1b7785440 Reorganized the project to put the library one folder down. 2014-06-27 14:38:28 +00:00