DelegatingPasswordEncoder which supports
 password upgrades. There are no plans to remove this support. It is deprecated to indicate that
 this is a legacy implementation and using it is considered insecure.@Deprecated public final class NoOpPasswordEncoder extends java.lang.Object implements PasswordEncoder
PasswordEncoder is provided for legacy and testing purposes only and is
 not considered secure.
 A password encoder that does nothing. Useful for testing where working with plain text
 passwords may be preferred.| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | encode(java.lang.CharSequence rawPassword)Deprecated.  Encode the raw password. | 
| static PasswordEncoder | getInstance()Deprecated.  Get the singleton  NoOpPasswordEncoder. | 
| boolean | matches(java.lang.CharSequence rawPassword,
       java.lang.String encodedPassword)Deprecated.  Verify the encoded password obtained from storage matches the submitted raw
 password after it too is encoded. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitupgradeEncodingpublic java.lang.String encode(java.lang.CharSequence rawPassword)
PasswordEncoderencode in interface PasswordEncoderpublic boolean matches(java.lang.CharSequence rawPassword,
                       java.lang.String encodedPassword)
PasswordEncodermatches in interface PasswordEncoderrawPassword - the raw password to encode and matchencodedPassword - the encoded password from storage to compare withpublic static PasswordEncoder getInstance()
NoOpPasswordEncoder.