Commit Graph

185 Commits

Author SHA1 Message Date
Kevin Thompson 2611d94033 Added strong-name signing to the library. 2019-06-16 17:48:27 -04:00
Kevin Thompson f892e1c93f Bumped the version number to 0.3.0.0; enabled output of docs. 2019-06-16 17:25:59 -04:00
Kevin Thompson 91f6a680cf Improved code style. 2019-06-16 17:24:43 -04:00
Kevin Thompson 52322afeaa Updated comments. 2019-06-16 17:22:50 -04:00
Kevin Thompson 002da1559b Fixed code style. 2019-06-16 17:22:21 -04:00
Kevin Thompson 01ad97b272 Removed unused code. 2019-06-16 17:21:14 -04:00
Kevin Thompson ac4217d9d4 Updated comments. 2019-06-16 16:57:43 -04:00
Kevin Thompson bbb7c7a060 Improved the impersonation revert process.
The Dispose(bool) method will still act even if finalizing, but it armors its access to the server to ensure that it doesn't accidentally cause a nullref trying to revert itself.
2019-06-16 16:57:23 -04:00
Kevin Thompson 4bd2ad0024 Merge pull request #19 from StefanOssendorf/feature/net-standard
Nsspi switched to SDK project style; targets .Net Framework 4.0 and .Net Standard 2.0. Demo projects unchanged.
2019-06-16 11:00:33 -04:00
Stefan Ossendorf 3ccdcc701e Nsspi targets now Net4.0 and .NetStandard2.0
Nsspi now multi targets .Net 4.0 and .NetStandard 2.0.
Dependencies are included based on framework.
2019-05-31 09:12:53 +02:00
Stefan Ossendorf 923d70195d Nsspi target framework changed to .NetStandard2.0
Nsspi targets now .NetStandard2.0
Other projects now targets .net4 .6.1
Nuspec file removed and nuget file will now be created on each build (new capaibility of VS17 used for that)
Assemblyinfo resieds now within csproj of nsspi project
ReSharpher folder added to gitignore
2019-05-30 14:46:03 +02:00
Kevin Thompson 56ca05b230 Fixed typo 2019-02-12 01:17:03 -05:00
Kevin Thompson 82eaae0570 Announced the release of v0.2.1. 2018-09-23 10:53:18 -04:00
Kevin Thompson 6bf95f46ee Updated version information to v0.2.1 0.2.1 2018-09-23 10:44:43 -04:00
Kevin Thompson 5c63105acf Merge pull request #12 from antiduh/pr/11
Pr/11 Integrate @SteveSyfuhs Thread.CurrentPrinciple changes
2018-04-01 18:10:28 -04:00
Kevin Thompson 19716405b8 Moved SetThreadIdentity into the ServerContext
The ImpersonationHandle class should probably stay as bare as possible since it's provided to the caller and we don't want to expose anything more than we need. Since the ServerContext is capable of performing this as a private method, move it there.
Updated the comments and variable names on the constructor to better indicate what exactly the option does, especially since modification of this property seems to be such a touchy subject.
2018-04-01 18:05:00 -04:00
Steve Syfuhs f0820875c3 Fixed enum value. Any actual unicode strings passed in will only use the first character because the 0 byte after the first character is treated as a terminator.
Added ability to set the current thread principal so it's inline with the actual security context.
2018-03-30 11:40:37 -07:00
Kevin Thompson 8355a6b821 Fixed binaries url 2017-10-20 01:52:33 -04:00
Kevin Thompson 4d79f1b5db Announced v0.2.0 release 0.2.0 2017-10-20 01:46:33 -04:00
Kevin Thompson aef74fe8aa Default to VS2015. 2017-10-20 01:25:49 -04:00
Kevin Thompson 37a7881d25 Updated version declarations to v0.2.0, to reflect the new support for username/password authentication plus the minor incompatibility introduced with the updated design. 2017-10-20 01:25:36 -04:00
Kevin Thompson 9350412fb6 Updated the svn-ignore properties. 2017-09-24 02:41:00 -04:00
Kevin Thompson 6a5e6056a7 Added password authentication support.
Added the ability to acquire a valid credential by providing a username/password combination.
2017-09-24 02:39:49 -04:00
Kevin Thompson c6c0ac623e Code cleanup.
Fixed comment and code style; removed unnecessary initialization of variable.
2017-09-24 02:10:00 -04:00
Kevin Thompson c07abdaa62 Comments. 2017-09-24 02:02:10 -04:00
Kevin Thompson f2d4541bab Renamed Client/ServerCredential.
The credential implementations should indicate in their name that they are implementations of the 'current' credential (acquired from the login running the process).
2017-09-24 01:59:34 -04:00
Kevin Thompson 0eb8ff49f2 Fixed ClientContext and ServerContext constructors.
Changed the contexts to take in any Credential implementation, instead of requiring client- or server-specific credentials.
2017-09-24 01:56:36 -04:00
Kevin Thompson 3b189d2865 Code cleanup
Fixed code style using CodeMaid.
2017-09-24 01:52:45 -04:00
Kevin Thompson 6ff68d8812 Merge pull request #8 from mcgov/master
Adding QuerySessionKey, as well as QueryContextAttributes and SafeQue…
2017-09-23 15:00:00 -04:00
Matthew McGovern e631d77f01 Adding QuerySessionKey, as well as QueryContextAttributes and SafeQueryContextAttributes 2017-09-22 09:21:48 -07:00
Kevin Thompson 4e629a71b2 Changed the csproj to output the documentation xml file 2017-05-01 10:10:32 -04:00
Kevin Thompson 8db4b6d8a5 Documented release 0.1.3 in the readme 2017-05-01 10:06:00 -04:00
Kevin Thompson 6b008f0e72 Bumped version number to 0.1.3
Needed to rebuild the nuget package due to a compilation mistake.
0.1.3
2017-05-01 09:59:15 -04:00
Kevin Thompson 8e68283df6 Added the nuspec file to the project. 2017-05-01 09:56:14 -04:00
Kevin Thompson 9862ee4aa4 Bumped version number to 0.1.2
Includes fix from #6.
2017-05-01 09:55:57 -04:00
Kevin Thompson 5cb0735213 Merge pull request #6 from matt-sullivan/master
Fix SSPIException serialization bug due to typo.
2017-04-30 16:39:25 -04:00
Matt Sullivan 5018ba17c2 Fix SSPIException serialization
It was failing due to a typo in a field name.
2017-05-01 00:10:56 +10:00
Kevin Thompson 5eeb3f874b Merge branch 'master' of https://github.com/antiduh/nsspi 2017-03-01 10:24:27 -05:00
Kevin Thompson 91f18604fe Added language declaration to nuspec 2017-01-20 16:36:24 -05:00
Kevin Thompson c3b560cd17 Added link to nuget package. 2017-01-20 16:29:56 -05:00
Kevin Thompson e7d93e0732 Added nuget spec for the core library 2017-01-20 16:20:02 -05:00
Kevin Thompson 1684280216 Removed unneceessary references
Got rid of dependencies that NSspi.csproj doesn't need.
2017-01-20 16:05:08 -05:00
Kevin Thompson e93e20fa7f Added gitignore files
Marked all derived content directories as ignored.
2017-01-20 16:03:59 -05:00
Kevin Thompson 7a42da7f2c Removed old text-only readme file
Superseded by the markdown version.
2015-06-03 11:16:52 -04:00
Kevin Thompson f8400caea6 Created a better readme file
Added links to the current release of source and binaries, a very-obvious link to to the 'releases' tab, added sectioning.
2015-06-03 11:16:07 -04:00
antiduh 447ca89baa Add information important to users
Clarified how the library can be used and how the data that comes out of the library (auth tokens) can be handled. It was very important to me when I was first developing this project that I get to choose my token transport mechanism so I can choose how to integrate it into my own app; I imagine lots of other developers are in the same boat.
0.1.1
2015-05-29 13:39:05 -04:00
antiduh 8cc4279e1d Fixed line endings so that the file formats well. 2015-05-28 17:32:41 -04:00
antiduh 4ede16318a Set the project's version number to what I currently expect. 2014-07-14 17:19:49 +00:00
antiduh 1374758ffb Fixed the number formatting in the SSPIException so that the error code comes out '0x....'. 2014-07-11 22:18:12 +00:00
antiduh 4bfe7d8bc9 Added a lifetime check in the ServerContext.ImpersonateClient method. 2014-07-11 22:16:12 +00:00