I'm using Spring security 3.0.5 in a JSF 2 application.
In order to deactivate/hide entries in my navigation menu for users that are not permitted to access them, I need a way to programmatically test whether the currently logged in user is allowed to access a given URL.
What's the easiest way to do that?