spring console demo: a login interceptor demo.
integrate spring3 & hibernate3(cann't use in hibernate4).