Interface PasswordEncoderRegistry
- All Known Implementing Classes:
DefaultPasswordEncoderRegistry
public interface PasswordEncoderRegistry
A registry that keeps association between
PasswordEncoding and related PasswordEncoder.-
Method Summary
Modifier and TypeMethodDescriptionstatic PasswordEncoderRegistrycreateDefaultRegistry(Executor executor) Creates an instance of the registry with default password encoders using supplied executor for encoding or common pool, ifnull.default PasswordEncoderpasswordEncoder(PasswordEncoding passwordEncoding)
-
Method Details
-
passwordEncoder
-
getDefault
-
createDefaultRegistry
Creates an instance of the registry with default password encoders using supplied executor for encoding or common pool, ifnull.- Parameters:
executor- Executor to offload encoding to, ornullto use common pool.- Returns:
- Encoders registry.
-