Java Spring Security – User.withDefaultPasswordEncoder() is deprecated?
EDIT: deleted old answer, misunderstood the question. Here’s the new one: User.withDefaultPasswordEncoder() can still be used for demos, you don’t have to worry if that’s what you’re doing – even if it’s deprecated – but in production, you shouldn’t have a plain text password in your source code. What you should be doing instead of … Read more