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
profileSqlServerConnectionProfile- The mutable profile about to be serialized.
Exceptions
- ArgumentNullException
profileis null.
UnprotectAfterLoad(SqlServerConnectionProfile)
Restores usable in-memory password fields after JSON deserialization.
public void UnprotectAfterLoad(SqlServerConnectionProfile profile)
Parameters
profileSqlServerConnectionProfile- The mutable profile that was loaded.
Exceptions
- ArgumentNullException
profileis null.