Table of Contents

Property LookupMovesWithTheMaterial

Namespace
MailFathom.Domain.Access
Assembly
MailFathom.Domain.dll

LookupMovesWithTheMaterial

Gets whether replacing a credential's material also replaces the value it is resolved by.

public bool LookupMovesWithTheMaterial { get; }

Property Value

bool

Remarks

A separate question from LookupIsDerivedFromTheSecret, and the two answer differently for a client's key pair: its fingerprint is published rather than derived from anything secret, and it still moves, because a client that sends a new public key is resolved by that key's fingerprint from then on. A key this deployment minted moves for the same reason. A username and a validated subject do not — replacing a password leaves the username where it was, and a subject has no material to replace at all.

What reads it is the store's rotation predicate. Where the lookup moves, the stated value is the new one and the row is matched by identity alone; where it does not, the stated value is the one the row must already carry, so a mistyped username matches no row instead of renaming somebody's sign-in.