Skip to content

Commit 1936ebb

Browse files
committed
make verifyJWT as mandatory
1 parent 630f0df commit 1936ebb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/utilities/capturecontext/utility/CaptureContextParsingUtility.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ public class CaptureContextParsingUtility {
2727
private static CacheForPublicKeys cache = new CacheForPublicKeys();
2828

2929
public static JsonObject parseCaptureContextResponse(
30-
String jwtValue, MerchantConfig merchantConfig, boolean verifyJwt)
30+
String jwtValue, MerchantConfig merchantConfig)
3131
throws InvalidJwtException, ConfigException, IOException, InvalidJwkException, JwtSignatureValidationException {
3232
SignedJWT signedJWT = JWTUtility.parse(jwtValue);
33-
33+
boolean verifyJwt = true;
3434
if (verifyJwt) {
3535
RSAPublicKey publicKey;
3636
boolean isJwtValid = false;

0 commit comments

Comments
 (0)