I've never done this myself, but I believe you'd have to create new dataSource and sessionFactory beans that points to your legacy database and then configure the userDao to talk to this sessionFactory. Of course, you might also need to change the table names on the User and Role classes. You also might need to adjust their properties and/or column names to match your new tables.
Matt On Wed, Feb 4, 2009 at 4:51 AM, Ice-Man <derlon.aliend...@gmail.com> wrote: > How u're doing, fellow?!! ;-)) Following my Requisites, now I must make my > App's LogIn use my own User Table (that is part of a Legacy DataBase, from > the System I'm converting to Java). I've found this > page<http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseAuthentication#part2>(about > Removing Acegi and reverting to CMA), but, even so, I couldn't know > if it applyes to AppFuse 2.0.2 . And I could find almost no stuff about my > other need. So, it would be so king of u gimme a few advices and tips at the > easiest way on doing it?! In advance, thnx, Ice-Man > ------------------------------ > View this message in context: LogIn using my own User Table (2.0.2 Struts2 > Modular-Eclipse > -Poracle)<http://www.nabble.com/LogIn-using-my-own-User-Table-%282.0.2-Struts2-Modular-Eclipse--Poracle%29-tp21828972s2369p21828972.html> > Sent from the AppFuse - User mailing list > archive<http://www.nabble.com/AppFuse---User-f2370.html>at Nabble.com. >