Class PasswordConfig


  • @Configuration
    public class PasswordConfig
    extends java.lang.Object
    Configures PasswordEncoder for hashing and salting password for users Also checks if an inputted password matches a hashed password
    • Constructor Summary

      Constructors 
      Constructor Description
      PasswordConfig()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.security.crypto.password.PasswordEncoder encoder()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PasswordConfig

        public PasswordConfig()
    • Method Detail

      • encoder

        @Bean
        public org.springframework.security.crypto.password.PasswordEncoder encoder()