How to display different views / HTML pages dependent on user?
<p>I am building a simple <code>Web application</code> using <a href="http://docs.spring.io/spring/docs/current/spring-framework-reference/html/mvc.html" rel="nofollow">Spring MVC</a>. </p>

<p>I would like to display a different <code>views</code> for:</p>

<ul>
<li><p>Administrators</p></li>
<li><p>Standard users</p></li>
</ul>

<p><em>How</em> can I do this? I ask as <code>Administrators</code> will be able to carry out different functionalities and see extra <code>buttons</code> etc as standard users. </p>

<p>Administrators will be given extra privileges/permissions, possibly identified using a <code>flag</code> in the <code>oracle</code> database. </p>

<p>For reference, I am also using <a href="http://projects.spring.io/spring-data/" rel="nofollow">Spring Data</a> and <a href="http://www.thymeleaf.org/" rel="nofollow">Thyme leaf</a> within the application. </p>