https://www.dineshonjava.com/customize-http-403-access-denied-page/
Customize http 403 access denied page in Spring Security