Let the ViewProviderAccessDelegate use the
hasAccessToSecuredObject-method instead of hasAnyAuthority. This way for
example a configured AccessDecisionManager is used.
ViewProviderAccessDelegate will now use the accessDecisionManager if one
is available and hasAnyAuthority if not.
Merge remote-tracking branch 'peholmst/master'
Use of AccessDecisionManager
If an accessDecisionManager is set for Security, isAccessGranted(String
beanName, UI ui) will always retrun true and leave the decision to the
second hook with the actual object. If no accessDecisionManager is set,
the behaviour is the same as before the change and hasAnyAuthority is
used whenever there is a @Secured tag.
Merge remote-tracking branch 'peholmst/master'
Optimized isAccessGranted-function of second hook - we don't need to
check again if no AccessDecisionManager is available - it's already
done.
Merge pull request #117 from pesse/master

ViewProviderAccessDelegate using accessDecisionManager