Class UserPasswordHistoryConverter
java.lang.Object
com.broadleafcommerce.common.jpa.converter.AbstractListConverter<JpaUserHistoricalPassword>
com.broadleafcommerce.auth.user.provider.jpa.domain.support.UserPasswordHistoryConverter
- All Implemented Interfaces:
jakarta.persistence.AttributeConverter<List<JpaUserHistoricalPassword>,
String>
public class UserPasswordHistoryConverter
extends com.broadleafcommerce.common.jpa.converter.AbstractListConverter<JpaUserHistoricalPassword>
Used to convert a
List
of HistoricalPasswords
to a
serialized JSON object string representation for persistence and vice-versa.- Author:
- Nathan Moore (nathandmoore)
-
Constructor Summary
ConstructorDescriptionUserPasswordHistoryConverter
(com.fasterxml.jackson.databind.ObjectMapper objectMapper) UserPasswordHistoryConverter
(com.fasterxml.jackson.databind.ObjectMapper objectMapper, boolean initIfNull) -
Method Summary
Methods inherited from class com.broadleafcommerce.common.jpa.converter.AbstractListConverter
convertToDatabaseColumn, convertToEntityAttribute, getObjectMapper
-
Constructor Details
-
UserPasswordHistoryConverter
public UserPasswordHistoryConverter(@Nullable @Qualifier("converterObjectMapper") com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
UserPasswordHistoryConverter
public UserPasswordHistoryConverter(@Nullable @Qualifier("converterObjectMapper") com.fasterxml.jackson.databind.ObjectMapper objectMapper, boolean initIfNull)
-