Open
Description
When trying to migrate our codebase to Spring 3, I realized, that our security configuration cannot be migrated easily.
Code, that cannot be migrated (not real code, just an example):
http
.authorizeRequests()
.mvcMatchers("/admin/{id}")
.access("hasRole('ADMIN') && @webSecurity.check(#id)"))
According to the documentation, we should write an AuthorizationManager for this use-case.
We have used the same expressions on method security - and that was awesome.
It would be nice if expressions on http security would work again.