Toivo, The password property on DBCPConnectionPool is a "sensitive" property which means it is already encrypted in the flow.xml.gz using nifi.sensitive.props.key.
Are you saying you are trying to externalize the value outside the flow and keep it encrypted somewhere else? -Bryan On Mon, Mar 12, 2018 at 6:02 AM, Toivo Adams <toivo.ad...@gmail.com> wrote: > Hi, > > I need to encrypt DBCPConnectionPool password. > I have working decryption code. > Problem is how to make decrypted password available to DBCPConnectionPool. > > I thought to use expression language and JVM System Property’s. > DBCPConnectionPool is capable to read System property value. > > But how to set System property value after decryption. > I could create custom Controller service, but this service should be > executed before DBCPConnectionPool. > Is order of execution Controller services anyhow defined? > > Thank you > Toivo > > > > > -- > Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/