Class SecretDocumentAccessor
java.lang.Object
org.springframework.vault.repository.convert.SecretDocumentAccessor
Wrapper value object for a
SecretDocument to be able to access raw
values by VaultPersistentProperty references. The accessors will
transparently resolve nested document values that a
VaultPersistentProperty might refer to through a path expression in
field names.- Since:
- 2.0
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptiongetBody()voidwriteNested(VaultPersistentProperty property) Obtains a nestedSecretDocumentAccessorfor aVaultPersistentProperty.
-
Method Details
-
getBody
-
setId
-
writeNested
Obtains a nestedSecretDocumentAccessorfor aVaultPersistentProperty. Nested accessors allows mapping of structured hierarchies and represent accessors to nested maps.- Parameters:
property- must not be null.- Returns:
-