数据库的配置文件中连接密码需要密文显示,我用的druid-1.0.18,比较急,也按照官方的方法配置了,但是不好用,求大神帮忙!!!
jdbc.username=root
jdbc.password=l8TAAERiPwst6Oq+W5YDuxH5UIYaYwoeqI1m3XHttSNpXKhQXVLX8cawIDsJvQEqxhZ5X2dA6GwNoGf0n5CCKA==
jdbc.publickey=config.decrypt=true,config.decrypt.key=MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAJ1vegAXq1yHX8pLx5EtfK49Jp1bO8xLF42liFQ0nVeAf5vHTobY3nh7jzxHNQPsxqhL1CuMst5hgrHN5YYB8kUCAwEAAQ==
driverClassName : {java :"$config.get('jdbc.driver')"},
url : {java :"$config.get('jdbc.url')"},
username : {java :"$config.get('jdbc.username')"},
password : {java :"$config.get('jdbc.password')"},
initialSize : 5,//
minIdle : 3,
maxActive : 30,
maxWait : 60000,
timeBetweenEvictionRunsMillis : 60000,
minEvictableIdleTimeMillis : 300000,
filters:"mergeStat,wall",
testOnReturn : true,
validationQuery : "select CURRENT_DATE"
filters: "config",
connectionProperties: {java:"$conf.get('jdbc.publickey)"},
defaultAutoCommit: false