nerdexam
Broadcom-VMware

2V0-72.22PSE · Question #13

Which two statements are true regarding storing user details in Spring Security? (Choose two.)

The correct answer is C. User details can be stored in custom storage and retrieve them by implementing the D. User details can be stored in a database, in LDAP, or in-memory. Authorities are part of a Principal. Default user is not created when you define your own UserDetailsService in memory or not.

Security

Question

Which two statements are true regarding storing user details in Spring Security? (Choose two.)

Options

  • AWith a custom UserDetailsService defined in the ApplicationContext, Spring Boot still creates
  • BPasswords must be hashed and the default hashing algorithm is MD5.
  • CUser details can be stored in custom storage and retrieve them by implementing the
  • DUser details can be stored in a database, in LDAP, or in-memory.
  • EThe user details includes username and password but not authorities.

How the community answered

(38 responses)
  • A
    16% (6)
  • B
    3% (1)
  • C
    74% (28)
  • E
    8% (3)

Explanation

Authorities are part of a Principal. Default user is not created when you define your own UserDetailsService in memory or not.

Topics

#UserDetailsService#password storage#LDAP#in-memory authentication

Community Discussion

No community discussion yet for this question.

Full 2V0-72.22PSE Practice