Link Details

Link 966717 thumbnail
User 398186 avatar

By jiwhiz
Submitted: May 09 2013 / 11:46

I use Java config as my configuration solution for Spring applications, but there is still one XML config file left, for Spring Security, see /src/main/resources/security.xml. The reason is currently Spring Security 3.1.x release does not support Java config. Here I will show you the code to use unreleased Spring Security Java Config project on GitHub to replace security.xml with Java code.
  • 1
  • 1
  • 131
  • 79

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (1)

Voters Against This Link (1)

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java