Hi i am new to Spring and I have a following problem:
I had succesfully implemented login mechanism on my website, but I know how to make it work only on specified subpages by:
<http entry-point-ref="authenticationEntryPoint" auto-config="true">
<intercept-url pattern="/admin" access="ROLE_ADMIN" />
And I would like to hide only choosen elements on subpages that are visible for any user.
For example anyone can acces a subpage to read an article on my website, but only registered user can add a comment.