Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MOSIP-31314 otp validation security fix (#1190)
* WIP added OTP freezing logic Signed-off-by: Loganathan Sekar <[email protected]> * Added test cases Signed-off-by: Loganathan Sekar <[email protected]> * Added sendotp test cases Signed-off-by: Loganathan Sekar <[email protected]> * Updated db scripts to index refid but not otphash Signed-off-by: Loganathan Sekar <[email protected]> * Minor refectoring Signed-off-by: Loganathan Sekar <[email protected]> * Corrected otp freezing property names Signed-off-by: Loganathan Sekar <[email protected]> * Correction to the OTP frozen message Signed-off-by: Loganathan Sekar <[email protected]> * Correction to the OTP frozen message Signed-off-by: Loganathan Sekar <[email protected]> * Correction to the OTP frozen message Signed-off-by: Loganathan Sekar <[email protected]> * Added validation on frozen error message Signed-off-by: Loganathan Sekar <[email protected]> * Minor refactoring Signed-off-by: Loganathan Sekar <[email protected]> * Added javadocs Signed-off-by: Loganathan Sekar <[email protected]> * Fixed test failure Signed-off-by: Loganathan Sekar <[email protected]> * Avoided nested if elses for exceptions in else block Signed-off-by: Loganathan Sekar <[email protected]> * Fixed otp error message Signed-off-by: Loganathan Sekar <[email protected]> * Applied review comments Signed-off-by: Loganathan Sekar <[email protected]> * Minor jdoc update Signed-off-by: Loganathan Sekar <[email protected]> * Fix to saving entity Signed-off-by: Loganathan Sekar <[email protected]> * Fix for the JPA query method Signed-off-by: Loganathan Sekar <[email protected]> * Fix for the JPA query method Signed-off-by: Loganathan Sekar <[email protected]> * Fix for the JPA query method Signed-off-by: Loganathan Sekar <[email protected]> * Minor fix to OTP generation time setting Signed-off-by: Loganathan Sekar <[email protected]> * Fix to updating generated dtimes Signed-off-by: Loganathan Sekar <[email protected]> --------- Signed-off-by: Loganathan Sekar <[email protected]>
- Loading branch information