Guest User

Untitled

a guest
Aug 16th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. hiding database password using codec specification in datasource.groovy not working
  2. dataSource {
  3. pooled = true
  4. driverClassName = "com.mysql.jdbc.Driver"
  5. username = "root"
  6. password = "q59YgJCdHw3dshwlsa=="
  7. passwordEncryptionCodec = DESCodec
  8. dbname="mydbname"
  9. }
  10.  
  11. grails.config.locations = [
  12. "file:/etc/${appName}/conf/db.properties"
  13. ]
  14.  
  15. dataSource.username = "root"
  16. dataSource.password = "secret"
Add Comment
Please, Sign In to add comment