A is incorrect because if a custom UserDetailsService is defined in the ApplicationContext, Spring Boot will not create the default user.
B is incorrect because the default hashing algorithm for passwords in Spring Security is BCrypt.
E is incorrect because the user details also includes authorities, which are the roles that the user has.
Authorities are part of a Principal. Default user is not created when you define your own UserDetailsService in memory or not...
upvoted 4 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Tolo01
Highly Voted 7 months, 2 weeks agozakupower
Most Recent 1 year ago