It's simply a matter of replacing the DAO layer in Spring and providing your own UserDAO implementation that can provide ACEGI with the user object. The former are configured in the normal applicationContext-*.xml files, and the latter is configured in the security.xml files (look for the dao authentication provider - you will need to supply your own implementation of the userDetailService). I assume you will need the security/user management features and still be accessing persistent/cached objects just not through a database?
Mike On 7/11/07, Kane Dijkman <[EMAIL PROTECTED]> wrote:
Hello Everyone, I am new to the list and to AppFuse and I have a question I am hoping I can get some answers to. I should say also that while I have been developing large web apps for years I am new to doing this in a Java project with things like Spring and hibernate and all this cool stuff. So I have a lot of knowledge in some areas and little in others and am working to get up to speed. For business reasons my goal is to build an app that does not talk to the database at all as there wont be one available. All the data will come from business objects that provide all the data. However the app still needs to have all the usual web features for a online application (secure login (acegi), captcha, session managment, etc.. pretty much the features that AppFuse offers out of the box) but without the use of Hibernate or similar. I have downloaded the basic Spring Archetype and I am beginning to find my way around it, but so far I am at a loss as to how I would go about removing the hibernate/persistence functionality and instead have those requests call a POJO/Bean that I create. A specific example would be to replace the default acegi (acegisecurity.ui.webapp.AuthenticationProcessingFilterEntryPoint) function that looks for a userDao that is configured in hibernate with a call to an object that would return the users credentials for acegi to do its magic on. Any pointers / suggestions / hints / detailed steps / links would be greatly appreciated! Thanks Much, Kane --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
