Is there a way to tell Spring to find the user's role in a custom user bean that I've made?
So if I had a bean called UserDetails that had:
Using the authentication manager, could it point to the UserDetails bean to determine the user's role? If so, where would I define the UserDetails bean in the code below?
Also what is "myUserDetailsService"? Is that a reference to the bean below the auth-manager?
<beans:property name="dataSource" ref="dataSource"/>