-
Notifications
You must be signed in to change notification settings - Fork 150
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 (#1181)
* 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]> --------- Signed-off-by: Loganathan Sekar <[email protected]>
- Loading branch information
1 parent
2abec1a
commit d8eaa5e
Showing
14 changed files
with
805 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.