Payment Hub Enterprise Edition middleware for integration to real-time payment systems.
Step1: Add @EnableJsonWebSignature
annotation to the main application class of your microservice.
Step2: Use below mention configuration in application.yaml to disable or enable the JsonWebSignatureInterceptor.
security:
jws:
enable: true
response:
enable: true
JsonWebSignature jwsSignature = new JsonWebSignature.JsonWebSignatureBuilder()
.setClientCorrelationId(UUID.randomUUID().toString())
.setTenantId("rhino").setData("/src/main/resources/demo.csv").build();
String signature = jwsSignature.getSignature("<private-key>");
Use below command to execute the checkstyle test.
./gradlew checkstyleMain
Use below command to execute the spotless apply.
./gradlew spotlessApply