Hello,
I'm looking into porting some Appfuse 2.x code to an old Appfuse 1.9 application and I have noticed some changes in the security model (password encryption). I have also noticed that the UserDao now exposes a new method named: String getUserPassword(String username); The implementation classes (UserDaoHibernate) has the following code for the getUserPassword method: public String getUserPassword(String username) { SimpleJdbcTemplate jdbcTemplate = new SimpleJdbcTemplate(SessionFactoryUtils.getDataSource(getSessionFactory())); Table table = AnnotationUtils.findAnnotation(User.class, Table.class); return jdbcTemplate.queryForObject( "select password from " + table.name() + " where username=?", String.class, username); } I don't quite understand why an Hibernate implementation class includes some Jdbc specific code. Am I missing something? Thanks Luciano -- View this message in context: http://www.nabble.com/xx-tp16678090s2369p16678090.html Sent from the AppFuse - User mailing list archive at Nabble.com.