Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- PostGreSQL DB Config with plaintext password -->
- <!-- <Resource
- auth="Container"
- driverClassName="org.postgresql.Driver"
- maxIdle="10"
- maxTotal="20"
- maxWaitMillis="-1"
- name="jdbc/postgres"
- password="password"
- type="javax.sql.DataSource"
- url="jdbc:postgresql://localhost:5432/test_app_db"
- username="tomcat"/>
- </Context> -->
- <!-- PostGreSQL DB DataSource Config with encrypted password -->
- <Resource
- name="jdbc/postgres"
- type="javax.sql.DataSource"
- factory="com.goyoung.tomcat.jdbc.pool.SecureDataSource.VaultedPassword_DataSourceFactory"
- auth="Container"
- driverClassName="org.postgresql.Driver"
- maxIdle="10"
- maxTotal="20"
- maxWaitMillis="-1"
- username="tomcat"
- password="f017d4322c6e63e0a83178b8195111f0"
- url="jdbc:postgresql://localhost:5432/test_app_db"
- />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement