Class PasswordConfig
java.lang.Object
com.dmasone.identity.infrastructure.security.PasswordConfig
Security-related bean configuration.
The service currently focuses on identity data management rather than full authentication, but passwords are still stored as BCrypt hashes to avoid persisting raw credentials.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.crypto.password.PasswordEncoderProvides the password hashing strategy used when users are created.
-
Constructor Details
-
PasswordConfig
public PasswordConfig()
-
-
Method Details
-
passwordEncoder
@Bean public org.springframework.security.crypto.password.PasswordEncoder passwordEncoder()Provides the password hashing strategy used when users are created.- Returns:
- BCrypt-based password encoder
-