Class Sha256PasswordEncoder
java.lang.Object
com.almis.awe.security.authentication.encoder.Sha256PasswordEncoder
- All Implemented Interfaces:
org.springframework.security.crypto.password.PasswordEncoder
public class Sha256PasswordEncoder
extends Object
implements org.springframework.security.crypto.password.PasswordEncoder
Created by dfuentes on 19/06/2017.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionencode
(CharSequence rawPassword) boolean
matches
(CharSequence rawPassword, String encodedPassword) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.security.crypto.password.PasswordEncoder
upgradeEncoding
-
Constructor Details
-
Sha256PasswordEncoder
Autowired constructor- Parameters:
encodeService
- Encode service
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceorg.springframework.security.crypto.password.PasswordEncoder
-
matches
- Specified by:
matches
in interfaceorg.springframework.security.crypto.password.PasswordEncoder
-