public class BCryptTransformer extends BasicTransformer<String>
BasicTransformer
implementation that BCrypted (encode) the String property.basePropertyName, definition, i18NPropertyName, relatedFormItem, type
Constructor and Description |
---|
BCryptTransformer(com.vaadin.data.Item relatedFormItem,
ConfiguredFieldDefinition definition,
Class<String> type) |
Modifier and Type | Method and Description |
---|---|
void |
writeToItem(String clearPassword)
Convert the T newValue to a specific Item format.
|
definePropertyName, getBasePropertyName, getLocale, getOrCreateProperty, getOrCreateProperty, getRelatedFormItem, getType, hasI18NSupport, readFromItem, setI18NPropertyName, setLocale, setType
public BCryptTransformer(com.vaadin.data.Item relatedFormItem, ConfiguredFieldDefinition definition, Class<String> type)
public void writeToItem(String clearPassword)
Transformer
writeToItem
in interface Transformer<String>
writeToItem
in class BasicTransformer<String>
Copyright © 2015 Magnolia International Ltd.. All rights reserved.