| Interface and Description | 
|---|
| org.springframework.security.authentication.encoding.PasswordEncoder It is recommended to use
  PasswordEncoderinstead which
 better accommodates best practice of randomly generated salt that is included with the
 password. | 
| Class and Description | 
|---|
| org.springframework.security.web.bind.support.AuthenticationPrincipalArgumentResolver use org.springframework.security.web.method.annotation.
 AuthenticationPrincipalArgumentResolver | 
| org.springframework.security.config.annotation.web.servlet.configuration.WebMvcSecurityConfiguration This is applied internally using SpringWebMvcImportSelector | 
| Annotation Type and Description | 
|---|
| org.springframework.security.web.bind.annotation.AuthenticationPrincipal Use org.springframework.security.core.annotation.AuthenticationPrincipal
 instead | 
| org.springframework.security.config.annotation.web.servlet.configuration.EnableWebMvcSecurity Use EnableWebSecurity instead which will automatically add the Spring MVC
 related Security items. | 
| Method and Description | 
|---|
| org.springframework.security.config.annotation.authentication.configurers.ldap.LdapAuthenticationProviderConfigurer.passwordEncoder(PasswordEncoder) |