Advertisement
Guest User

Untitled

a guest
Mar 26th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. <!-- PostGreSQL DB Config with plaintext password -->
  2. <!-- <Resource
  3. auth="Container"
  4. driverClassName="org.postgresql.Driver"
  5. maxIdle="10"
  6. maxTotal="20"
  7. maxWaitMillis="-1"
  8. name="jdbc/postgres"
  9. password="password"
  10. type="javax.sql.DataSource"
  11. url="jdbc:postgresql://localhost:5432/test_app_db"
  12. username="tomcat"/>
  13. </Context> -->
  14.  
  15. <!-- PostGreSQL DB DataSource Config with encrypted password -->
  16. <Resource
  17. name="jdbc/postgres"
  18. type="javax.sql.DataSource"
  19. factory="com.goyoung.tomcat.jdbc.pool.SecureDataSource.VaultedPassword_DataSourceFactory"
  20. auth="Container"
  21. driverClassName="org.postgresql.Driver"
  22. maxIdle="10"
  23. maxTotal="20"
  24. maxWaitMillis="-1"
  25. username="tomcat"
  26. password="f017d4322c6e63e0a83178b8195111f0"
  27. url="jdbc:postgresql://localhost:5432/test_app_db"
  28. />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement