Interface SpincastFormsDoubleSubmitProtectionRepository
public interface SpincastFormsDoubleSubmitProtectionRepository
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteOldFormsProtectionIds
(int maxAgeMinutes) Deletes the saved protection ids that are older than the specified number of minuets.boolean
isFormAlreadySubmitted
(String protectionId) Is the specified protectionId one of an already submitted form?void
saveSubmittedFormProtectionId
(Instant creationDate, String protectionId) Saves the protectionId associated with a submitted form.
-
Method Details
-
saveSubmittedFormProtectionId
Saves the protectionId associated with a submitted form. -
isFormAlreadySubmitted
Is the specified protectionId one of an already submitted form? -
deleteOldFormsProtectionIds
void deleteOldFormsProtectionIds(int maxAgeMinutes) Deletes the saved protection ids that are older than the specified number of minuets.
-