Table of Contents

Class NoOpConnectionPasswordProtector

Namespace
ItTiger.TigerQuery.Core
Assembly
ItTiger.TigerQuery.Core.dll
Leaves every password field unchanged.
public sealed class NoOpConnectionPasswordProtector : IConnectionPasswordProtector
Inheritance
NoOpConnectionPasswordProtector
Implements
Inherited Members

Remarks

This strategy provides no password protection. It is intended for tests or stores whose security is managed entirely outside this library.

Methods

ProtectForSave(SqlServerConnectionProfile)

Prepares a profile's password fields for JSON persistence.
public void ProtectForSave(SqlServerConnectionProfile profile)

Parameters

profile SqlServerConnectionProfile
The mutable profile about to be serialized.

Exceptions

ArgumentNullException
profile is null.

UnprotectAfterLoad(SqlServerConnectionProfile)

Restores usable in-memory password fields after JSON deserialization.
public void UnprotectAfterLoad(SqlServerConnectionProfile profile)

Parameters

profile SqlServerConnectionProfile
The mutable profile that was loaded.

Exceptions

ArgumentNullException
profile is null.