Skip to content
Advertisement

Tag: spring-mvc

Spring Cloud Gateway for composite API calls?

I am starting to build a Microservice API Gateway, and I am considering Spring Cloud to help me with the routing. But some calls to the Gateway API will need multiple requests to different services. Lets say I have 2 services: Order Details Service and Delivery Service. I want to have a Gateway endpoint GET /orders/{orderId} that makes a call

Connect Spring MVC with aws documentDB

I’m using mongoDB with aws ec2 instance it’s working fine and I’ve moved mongoDB to aws documentDB, So i’m not able to connect documentDB with same code, So any one can u please help me if you have idea. Here is my connection code in Spring MVC: Spring, Hibernet and mongoDB version: spring -4.2.5 spring-data-MongoDB -1.10.14 mongo-java-driver -3.5.0 Answer To

Checkmarx Java fix for Log Forging -sanitizing user input

Can anyone suggest the proper sanitization/validation process required for the courseType variable in the following getCourses method. I am using that variable to write in a log file. I’ve tried HtmlUtils.HtmlEscape() but didn’t get expected results. Thanks! Answer it seems like the Checkmarx tool is correct in this case. A “Log Forging” vulnerability means that an attacker could engineer logs

Eclipse & Tomcat Error: HTTP Status 404 – Not Found: [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 2 years ago. Improve this question Description: The origin server did not find a current representation for the target

Advertisement