My Shitty Code

Embracing the Messiness in Search of Epic Solutions

Tag: SiteMesh

  • Spring Security: Handling 403 Error Page

    If you are already using Spring, then you might want to use Spring Security to secure your web resources. To do that, we specify the URI to be secured with <security:intercept-url/> tag:- When users without role ROLE_TOPSECRET access /top-secrets/kfc-secret, they will see this default error page:- This proves that Spring Security is doing its job. […]