I need help with one of the issue that I am facing with Spring Boot Security. I have application which has 2 different Urls.(Infoblock CNAME)
- domain1.com
- domain2.com
both Url are point to the same application.
Due to business reason we need 2 different Url and we are planning to land on diff page based on the URL entered in browser. Issue is with Spring Security AntMatcher. With AntMatcher we can only provide path but how we can address the domain with it.
Could you please guide me.
Thanks in Advance.