Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoOpPasswordEncoder' is deprecated #1

Open
fawad1997 opened this issue Apr 18, 2020 · 1 comment
Open

NoOpPasswordEncoder' is deprecated #1

fawad1997 opened this issue Apr 18, 2020 · 1 comment

Comments

@fawad1997
Copy link

is there any alternative for the following code?

@Bean
    public PasswordEncoder passwordEncoder(){
        return NoOpPasswordEncoder.getInstance();
    }
@Alex-Camara
Copy link

He did that to keep the example simple, in a real world application you'd never want to save the password as plain text, that's why java is showing the method as deprecated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants