Class SecretFields

java.lang.Object
com.onec.security.SecretFields

public final class SecretFields extends Object
Applies a transform to the secret String fields of a typed catalog/document aggregate. Used by the Spring Data callbacks to encrypt before write and decrypt after read, so application code that goes through the repositories always sees plaintext while the database only ever holds ciphertext.