Feb 24th, 2011, 03:31 AM
Spring Security java configuration via @Features
Looks like we got Spring 3.1.0.M1 released and working, giving the ability to create complete XML-free configuration for data access, services, transactions and mvc stuff. Remaining XML-configurable part of many applications, including mine, is Spring Security. Both method security, web configuration etc.
It seems that creating all security beans by hand in custom @Configuration is quite verbose and error-prone, so @FeatureConfiguration provided by Spring Security developers is highly appreciated. I understand that we don't have any @FeatureConfiguration bundled in 3.1.0.RC1, but I also found no Jira issue on this subject.
So, guys, is there any support for XML-free configuration coming?
Feb 24th, 2011, 08:37 AM
To be honest I have been thinking about implementing this along with support for removing configuration out of web.xml. I'm not exactly sure if/when it would be released though. I added this to JIRA along with support for Servlet 3.0 (which should be in Spring 3.1.0.M2) so that they could be properly tracked
Feb 24th, 2011, 09:17 AM
PS you might want to vote on the issue if you want it (helps to prioritize things)
Feb 25th, 2011, 01:05 PM
Thank you for the issue. Will keep my eye on it.
Unfortunately, I was unable to vote since I'm not authorized and I found no registration link there.
Feb 26th, 2011, 10:32 AM
The sign up link is available from the login page.
Feb 26th, 2011, 08:21 PM
Thank you. My vote is there.