How would I write following condition using spring security taglib?
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>  <sec:authorize access="not of hasRole('ROLE_ADMIN')">    <div> show these for only non admins </div> </sec:authorize> <sec:authorize access="!hasRole('ROLE_ADMIN')">    <div> show these for only non admins </div> </sec:authorize> If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With