Announcement Announcement Module
No announcement yet.
Exposing UserDetailsManager as a bean Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Exposing UserDetailsManager as a bean

    Hi, What is the recommended way to expose UserDetailsManager as a bean. I've seen the javadoc regarding UserDetailsService however I'm interested in the manager interface. I've worked around by assigning a member variable to auth.getDefaultUserDetailsService and cast the return value, then expose member variable using @Bean. However I'm just wondering is there an alternative or cleaner approach. Btw I'm using auth.jdbcAuthentication method to setup the authentication facility. Kind regards Rob.