Skip to content

autoconfigure-encryption

This module also provide a way to directly use our standard encryption (i.e from otto) inside application-*.properties/yml.This module will be transitively available to clients app.

Encryption

example


filename: application-test.properties

uiowa.ais.autoconfigure.maui.client.http.password=e(prospector:BVwWmiVbapLLHFr1/5LvWcLIEyBmC3Tt)

In any spring managed class you can inject this property by using @Value


@Value("${uiowa.ais.autoconfigure.maui.client.http.password}")
private String password; // you will get decrypted password back