I am using Spring Boot 1.5.10, My project track specific request from specific domain. I am using some api which notify my application, if some event occurs.
My application will receive only from specific domains which that api belongs. Eg: https://console.developers.google.com/apis
I want to restrict my endpoints to get request from specific domains like above example.
My application don't need any security. So, i am not interested to spring security. So how i can restrict my application to accept requests only from specific domain.