Class CalibrationProfileStore
java.lang.Object
com.svenruppert.jsentinel.credential.password.calibration.CalibrationProfileStore
Dependency-free file-based load/save of
CalibrationProfile.
Profiles are written as Java Properties (UTF-8) with a
stable key ordering so the resulting file diffs cleanly across runs.
Parameter map entries are keyed as param.<name>; the
remaining metadata uses fixed top-level keys.
Calibration is explicit: this store loads what the operator persisted, it never recalibrates (CWE-754 / CWE-693).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeserialises a profile from the given path.voidsave(CalibrationProfile profile, Path path) Serialises the profile to the given path.
-
Constructor Details
-
CalibrationProfileStore
public CalibrationProfileStore()
-
-
Method Details
-
save
Serialises the profile to the given path. Existing files are overwritten atomically throughFiles.move(Path, Path, CopyOption...). -
load
Deserialises a profile from the given path. Throws if the file is missing or malformed; never silently substitutes defaults.
-