Created
February 28, 2019 12:40
-
-
Save tuesd4y/1701115c29e33a58b5ca637703cc7e66 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package at.triply.backend.eventbackend.config | |
import org.springframework.context.annotation.Bean | |
import org.springframework.context.annotation.Configuration | |
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder | |
import org.springframework.security.crypto.password.PasswordEncoder | |
@Configuration | |
class SecurityConfiguration { | |
@Bean | |
fun passwordEncoder(): PasswordEncoder{ | |
return BCryptPasswordEncoder() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment