I did not use Spring Security but it is asking me to authenticate. Exception for URL(http://localhost:8080/SpringJob/ExecuteJob): application-dev.xml build.gradle snippet Controller Answer Try to add below lines in your application.properties file According to spring doc, use security.ignored= Comma-separated list of paths to exclude from the default secured paths
Tag: controller
How to set rate limit for each user in Spring Boot?
I am developing a Spring Boot Rest API which handles a lots of incoming request calls. My Controller is something like below: So now I wanted to set a ratelimit for each user. Say every user can only request 5 request per minute or something like that. How to set the rate limit for each user to make only 5
Why we shouldn’t make a Spring MVC controller @Transactional?
There are already a few questions about the topic, but no response at all really provides arguments in order to explain why we shouldn’t make a Spring MVC controller Transactional. See: Transaction not working correctly – Spring/MyBatis For web MVC Spring app should @Transactional go on controller or service? Making Spring 3 MVC controller method Transactional Spring MVC Controller Transactional