Yes Bill i am creating UserDAO using new operator in MyUserDetailService class.
After removing the new Operator from MyUserDetailService class i am getting null pointer exception due to i think there is injection problem in UserDao class.
MyUserDetailsService code:
and bean.xml look like
Now pl tell me why null pointer excpetion is coming in this line
Login dbUser = userDAO1.searchDatabase(username);