-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Open
Labels
in: webAn issue in web modules (web, webmvc)An issue in web modules (web, webmvc)type: enhancementA general enhancementA general enhancement
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.
s3curitybug
Metadata
Metadata
Assignees
Labels
in: webAn issue in web modules (web, webmvc)An issue in web modules (web, webmvc)type: enhancementA general enhancementA general enhancement