Class DefaultVaultTypeMapper

java.lang.Object
org.springframework.data.convert.DefaultTypeMapper<Map<String,Object>>
org.springframework.vault.repository.convert.DefaultVaultTypeMapper
All Implemented Interfaces:
Aware, BeanClassLoaderAware, TypeMapper<Map<String,Object>>, VaultTypeMapper

public class DefaultVaultTypeMapper extends DefaultTypeMapper<Map<String,Object>> implements VaultTypeMapper
Default implementation of VaultTypeMapper allowing configuration of the key to lookup and store type information in SecretDocument. The key defaults to DEFAULT_TYPE_KEY. Actual type-to-String conversion and back is done in DefaultTypeMapper.readType(Object) or DefaultTypeMapper.getDefaultedTypeToBeUsed(Object). respectively.
Since:
2.0
Author:
Mark Paluch