This is a spring security question.
I want to be able to retrieve my custom User object object using
SecurityContextHolder.getContext().getAuthentic
Answering my own question -
The issue was not overriding loadUserByUsername(String username) from JdbcDaoImpl.
Therefore JdbcDaoImpl's implementation of loadUserByUsername(String username) was being called, which though internally was first calling loadUsersByUsername(String username), was subsequently adding granted authorities to the MyUser object returned above and returning it as a org.springframework.security.core.userdetails.User object.