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).
This commit is contained in:
Kevin Thompson
2017-09-24 01:59:34 -04:00
parent 0eb8ff49f2
commit f2d4541bab
6 changed files with 14 additions and 14 deletions

View File

@@ -16,10 +16,10 @@ namespace NSspi
private static void CredTest( string packageName )
{
ClientCredential clientCred = null;
ClientCurrentCredential clientCred = null;
ClientContext client = null;
ServerCredential serverCred = null;
ServerCurrentCredential serverCred = null;
ServerContext server = null;
byte[] clientToken;
@@ -30,8 +30,8 @@ namespace NSspi
try
{
clientCred = new ClientCredential( packageName );
serverCred = new ServerCredential( packageName );
clientCred = new ClientCurrentCredential( packageName );
serverCred = new ServerCurrentCredential( packageName );
Console.Out.WriteLine( clientCred.PrincipleName );