Class PasswordConfig

java.lang.Object
com.dmasone.identity.infrastructure.security.PasswordConfig

@Configuration public class PasswordConfig extends Object
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 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