In the pre-authenticated scenario, assume I want to load a custom UserDetails object from the app database. A UserDetailsService is created for this. Will this UserDetailsService will be invoked every time a request hits the application? Won't it be a performance hit if the UserDetailsService is called every time to load the UserDetails from the database.