Remove PasswordEncoder from core

Issue: gh-4674
This commit is contained in:
Rob Winch
2017-10-22 15:58:56 -05:00
parent 6c69333df6
commit 4529e09339
5 changed files with 9 additions and 191 deletions

View File

@@ -74,23 +74,6 @@ abstract class AbstractDaoAuthenticationConfigurer<B extends ProviderManagerBuil
return (C) this;
}
/**
* Allows specifying the
* {@link org.springframework.security.authentication.encoding.PasswordEncoder} to use
* with the {@link DaoAuthenticationProvider}. The default is to use plain text.
*
* @param passwordEncoder The
* {@link org.springframework.security.authentication.encoding.PasswordEncoder} to
* use.
* @return the {@link SecurityConfigurer} for further customizations
*/
@SuppressWarnings("unchecked")
public C passwordEncoder(
org.springframework.security.authentication.encoding.PasswordEncoder passwordEncoder) {
provider.setPasswordEncoder(passwordEncoder);
return (C) this;
}
@Override
public void configure(B builder) throws Exception {
provider = postProcess(provider);