Albert Scholtz
Albert Scholtz

Reputation: 347

Hashed oracle password in solr data import handler configuration

How do I create/get the existing hash for an oracle 12c user and in turn where do I add this hash into the solr dataimport handler configuration? Are there any extra config required in the solr import handler or the solr config xml to get this working?

Any help will be much appreciated. I have search on google and through various blogs but all articles refer to clear text passwords.

Upvotes: 1

Views: 745

Answers (1)

cheffe
cheffe

Reputation: 9500

As described in the answer to Solr config, encrypting data config file, you should configure your datasource via JNDI and then address it via its' JNDI name

<dataSource name="xyz" jndiName="jdbc/xyz" type="JdbcDataSource"/>

Upvotes: 2

Related Questions