I'm doing the same thing. In my case, the current system keeps username/password in some database table, and the new system will keep it in an LDAP directory. For now, I have my own subclass of JdbcRealm which queries the existing database. Then I'll have a "transition script" - a shell script which grabs the existing username/password from the DB and puts it into the LDAP directory. And then I'll replace my subclass of JdbcRealm with some subclass of LDAPRealm.
I hope that answers your question, if not, ask something more specific. Andy p.s. Do you live in the foothills of Hillsbrad? :) > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of Tauren > Mills > Sent: Tuesday, September 01, 2009 1:23 PM > To: [email protected] > Subject: Transferring passwords from old system > > I'm going to have to import a bunch of users from an old system into a > new system based on shiro. These passwords are encrypted in a Base64 > encoded SHA hash. My hope is that these existing users can start > using the new system by logging in using the same username/password > they used before. Before I get started, I was wondering if anyone has > any pointers or ideas on a good way to go about doing this? > > Thanks! > Tauren
