views:

335

answers:

1

I have an existing Spring application with a Swing interface. It interfaces using Spring Security into an LDAP system, with no User table, no Role table, no security tables whatsoever. I want to use the Acegi plugin, however, it demands I have a USER table. How can I override the plugin to indicate I don't want this. In fact, I already coded a security service for my Swing app that builds an authentication manager. How do I bypass this USER table stuff, and instead inject my own security service?

A: 

Okay, it was too much work to override the security plugin. Instead, I just added plain ole Spring Security like it was a web app. That was the easiest. The only problem is, I had to use resources.xml to get the configuration in place, since resources.groovy somehow refreshed and didn't read things correctly. This leaves me with OUT the option to switch configuration based on environment.

gregturn