Testing whether user has access to certain URLs
I'm iterating over the list of HandlerMethods which Spring did identify. I want to know, to which of those the currently logged in user has access.
So I have access to the HandlerMethod, the RequestMappingInfo which was used (@RequestMapping annotation), the URL which stands for the HandlerMethod and ofcourse the principal.
Is there any chance to identify, to which of a list of HandlerMethods the user has access with the information I have present?