Solr config, encrypting data config file

后端 未结 2 1320
野趣味
野趣味 2021-01-20 19:12

How can I encrypt the data config portion here?:

 


        
2条回答
  •  悲&欢浪女
    2021-01-20 19:58

    A more secure option, I would suggest is to configure a JNDI in your webserver.

    How to configure a JNDI? This Page explains how to do so with Tomcat. It can be done for other popular webservers as well.

    You can use the JNDI name in your data config file as follows:

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

提交回复
热议问题