Add the following line to the top of the file:
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
Then, surround the desired component with <sec:authorize> tag:
<sec:authorize access="hasRole('ROLE_SUPERVISOR')"> <!-- Here goes what you want to controll the visibility of. In this case, only the users with role 'ROLE_SUPERVISOR' can see this component.--> </sec:authorize>