public UserDetails loadUserByUsername ( String username ) throws UsernameNotFoundException { UserDetails userDetails = usersTable . get ( username ) ; if ( null == userDetails ) { throw new UsernameNotFoundException ( username ) ; } return userDetails ; }
This method retrieves UserDetails for all users from a flat file in DuraCloud .