Skip to content

Commit

Permalink
ES-2147 - Changed the nonce value as unique for every test case. (#1108)
Browse files Browse the repository at this point in the history
* MOSIP-36485

Signed-off-by: Nandhukumar <[email protected]>

* MOSIP-36485

Signed-off-by: Nandhukumar <[email protected]>

* MOSIP-36485

Signed-off-by: Nandhukumar <[email protected]>

* MOSIP-38489 - Generated single report with 2 sections

Signed-off-by: Nandhukumar <[email protected]>

* MOSIP-38489 - Generated single report with 2 sections

Signed-off-by: Nandhukumar <[email protected]>

* ES-2147

Signed-off-by: Nandhukumar <[email protected]>

---------

Signed-off-by: Nandhukumar <[email protected]>
  • Loading branch information
nandhu-kumar authored Jan 16, 2025
1 parent e550b99 commit d398187
Show file tree
Hide file tree
Showing 13 changed files with 253 additions and 298 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,11 @@ public static String inputstringKeyWordHandeler(String jsonString, String testCa
jsonString = replaceKeywordValue(jsonString, "$CHALLENGEVALUEFORSUNBIRDC$", challengeValue);
}

if (jsonString.contains("$UNIQUENONCEVALUEFORESIGNET$")) {
jsonString = replaceKeywordValue(jsonString, "$UNIQUENONCEVALUEFORESIGNET$",
String.valueOf(Calendar.getInstance().getTimeInMillis()));
}

if (jsonString.contains("$ENCRYPTEDSESSIONKEY$")) {
jsonString = replaceKeywordValue(jsonString, "$ENCRYPTEDSESSIONKEY$", encryptedSessionKeyString);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ OAuthDetailsRequestConsent:
"display": "popup",
"prompt": "login",
"acrValues": "mosip:idp:acr:generated-code",
"nonce": "973eieljzng",
"nonce": "$UNIQUENONCEVALUEFORESIGNET$",
"state": "eree2311",
"claimsLocales": "en"
}'
Expand All @@ -41,7 +41,7 @@ OAuthDetailsRequestConsent:
"display": "popup",
"prompt": "login",
"acrValues": "mosip:idp:acr:generated-code",
"nonce": "973eieljzng",
"nonce": "$UNIQUENONCEVALUEFORESIGNET$",
"state": "eree2311",
"claimsLocales": "en"
}'
Expand All @@ -66,7 +66,7 @@ OAuthDetailsRequestConsent:
"display": "popup",
"prompt": "login",
"acrValues": "mosip:idp:acr:generated-code",
"nonce": "973eieljzng",
"nonce": "$UNIQUENONCEVALUEFORESIGNET$",
"state": "eree2311",
"claimsLocales": "en"
}'
Expand All @@ -91,7 +91,7 @@ OAuthDetailsRequestConsent:
"display": "popup",
"prompt": "login",
"acrValues": "mosip:idp:acr:generated-code",
"nonce": "973eieljzng",
"nonce": "$UNIQUENONCEVALUEFORESIGNET$",
"state": "eree2311",
"claimsLocales": "en"
}'
Expand All @@ -116,7 +116,7 @@ OAuthDetailsRequestConsent:
"display": "popup",
"prompt": "login",
"acrValues": "mosip:idp:acr:generated-code",
"nonce": "973eieljzng",
"nonce": "$UNIQUENONCEVALUEFORESIGNET$",
"state": "eree2311",
"claimsLocales": "en"
}'
Expand All @@ -141,7 +141,7 @@ OAuthDetailsRequestConsent:
"display": "popup",
"prompt": "login",
"acrValues": "mosip:idp:acr:generated-code",
"nonce": "973eieljzng",
"nonce": "$UNIQUENONCEVALUEFORESIGNET$",
"state": "eree2311",
"claimsLocales": "en"
}'
Expand All @@ -166,7 +166,7 @@ OAuthDetailsRequestConsent:
"display": "popup",
"prompt": "login",
"acrValues": "mosip:idp:acr:generated-code",
"nonce": "973eieljzng",
"nonce": "$UNIQUENONCEVALUEFORESIGNET$",
"state": "eree2311",
"claimsLocales": "en"
}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ OAuthDetailsRequestLinkedConsent:
"display": "popup",
"prompt": "login",
"acrValues": "mosip:idp:acr:linked-wallet",
"nonce": "973eieljzng",
"nonce": "$UNIQUENONCEVALUEFORESIGNET$",
"state": "eree2311",
"claimsLocales": "en"
}'
Expand All @@ -41,7 +41,7 @@ OAuthDetailsRequestLinkedConsent:
"display": "popup",
"prompt": "login",
"acrValues": "mosip:idp:acr:linked-wallet",
"nonce": "973eieljzng",
"nonce": "$UNIQUENONCEVALUEFORESIGNET$",
"state": "eree2311",
"claimsLocales": "en"
}'
Expand All @@ -66,7 +66,7 @@ OAuthDetailsRequestLinkedConsent:
"display": "popup",
"prompt": "login",
"acrValues": "mosip:idp:acr:linked-wallet",
"nonce": "973eieljzng",
"nonce": "$UNIQUENONCEVALUEFORESIGNET$",
"state": "eree2311",
"claimsLocales": "en"
}'
Expand All @@ -90,7 +90,7 @@ OAuthDetailsRequestLinkedConsent:
"display": "popup",
"prompt": "login",
"acrValues": "mosip:idp:acr:linked-wallet",
"nonce": "973eieljzng",
"nonce": "$UNIQUENONCEVALUEFORESIGNET$",
"state": "eree2311",
"claimsLocales": "en"
}'
Expand Down
Loading

0 comments on commit d398187

Please sign in to comment.