Class PasswordEncoderFactoryImpl
java.lang.Object
com.atlassian.crowd.password.factory.PasswordEncoderFactoryImpl
- All Implemented Interfaces:
PasswordEncoderFactory
- See Also:
-
Field Summary
Fields inherited from interface com.atlassian.crowd.password.factory.PasswordEncoderFactory
ARGON2_ENCODER, ATLASSIAN_SECURITY_ENCODER, DES_ENCODER, MD5_ENCODER, PLAINTEXT_ENCODER, SHA_ENCODER, SSHA_ENCODER -
Constructor Summary
ConstructorsConstructorDescriptionThis default constructor will initialise the PasswordEncoderFactoryImpl with the required defaultPasswordEncoder's, the current default is currently theAtlassianSecurityPasswordEncoderPasswordEncoderFactoryImpl(Iterable<PasswordEncoder> encoders) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEncoder(PasswordEncoder passwordEncoder) getEncoder(String encoder) getInternalEncoder(String encoder) getLdapEncoder(String encoder) voidremoveEncoder(PasswordEncoder passwordEncoder) voidsetEncoders(Iterable<PasswordEncoder> encoders)
-
Constructor Details
-
PasswordEncoderFactoryImpl
public PasswordEncoderFactoryImpl()This default constructor will initialise the PasswordEncoderFactoryImpl with the required defaultPasswordEncoder's, the current default is currently theAtlassianSecurityPasswordEncoder -
PasswordEncoderFactoryImpl
-
-
Method Details
-
setEncoders
-
getInternalEncoder
- Specified by:
getInternalEncoderin interfacePasswordEncoderFactory
-
getLdapEncoder
- Specified by:
getLdapEncoderin interfacePasswordEncoderFactory
-
getEncoder
- Specified by:
getEncoderin interfacePasswordEncoderFactory- Throws:
PasswordEncoderNotFoundException
-
getSupportedInternalEncoders
- Specified by:
getSupportedInternalEncodersin interfacePasswordEncoderFactory
-
getSupportedLdapEncoders
- Specified by:
getSupportedLdapEncodersin interfacePasswordEncoderFactory
-
addEncoder
- Specified by:
addEncoderin interfacePasswordEncoderFactory- Throws:
PasswordEncoderException
-
removeEncoder
- Specified by:
removeEncoderin interfacePasswordEncoderFactory
-