protect
Entry point for tamper-evidence configuration.
Reading this property from within a ca.acendas.kstate.saga.SagaBuilder block returns a ProtectConfigurer that exposes with tamperEvidence:
sagaExecutor<OrderContext, OrderResult> {
keep audit in roomJournal as OrderEvent
protect with tamperEvidence
}Content copied to clipboard
Prerequisite: a journal must have been registered via keep audit in … as … before this property is used. Violating this ordering causes a clear IllegalStateException.