Bill Gorder wrote:Configure it on your AuthenticationManager. In your case you probably want the global one.
Your WebApplicationInitializer looks good but I don't see one to also register the SpringSecurity Filter chain
Add another one that looks like this, it can be empty the abstract class does the work:
Jeanne Boyarsky wrote:In your Root Config class, add:
If this doesn't work, post what error message you get or why it doesn't work.
William P O'Sullivan wrote:We implement the Spring InitializingBean which allows us to merge an external config.properties file
to any System properties passed to the vm using -D.
This file lives outside the deployed war so any changes, passwords etc. are controlled by admins
at the filesystem level. This also allows use to use one pre-built war for many instalations by
simply putting a -Denv=??? on the JBoss startup.
WP