Spring Security 4. CustomSecurityInternalResourceV

2019-07-29 23:05发布

问题:

I need configure my spring-boot web application to return different templates for same URL. Template should be returned checking roles for current user.

To solve this issue i think should be used UrlBasedViewResolver to create\configure special CustomSecurityBasedInternalResourceViewResolver. It will be really good if someone will show how to implement this idea.