Class LegacyPasswordEncoder
java.lang.Object
net.solarnetwork.central.security.LegacyPasswordEncoder
- All Implemented Interfaces:
org.springframework.security.crypto.password.PasswordEncoder
@Deprecated
public class LegacyPasswordEncoder
extends Object
implements org.springframework.security.crypto.password.PasswordEncoder
Deprecated.
do not use this encoder for anything other than supporting legacy
passwords
Password encoder using unsalted SHA-256 hashes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionencode(CharSequence rawPassword) Deprecated.booleanmatches(CharSequence rawPassword, String encodedPassword) Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.crypto.password.PasswordEncoder
upgradeEncoding
-
Constructor Details
-
LegacyPasswordEncoder
public LegacyPasswordEncoder()Deprecated.
-
-
Method Details
-
encode
Deprecated.- Specified by:
encodein interfaceorg.springframework.security.crypto.password.PasswordEncoder
-
matches
Deprecated.- Specified by:
matchesin interfaceorg.springframework.security.crypto.password.PasswordEncoder
-