Changeset 1306


Ignore:
Timestamp:
Dec 21, 2010, 2:35:45 PM (6 years ago)
Author:
work@…
Message:
  • crypto shared secret is now randomly generated on application startup
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/Config.groovy

    r1301 r1306  
    11import dbnp.rest.common.CommunicationManager
     2import org.apache.commons.lang.RandomStringUtils
    23
    34/**
     
    159160        //       'org.codehaus.groovy.grails.plugins'
    160161        //
    161         debug 'org.codehaus.groovy.grails.plugins'
     162        //debug 'org.codehaus.groovy.grails.plugins'
    162163}
    163164
     
    181182// @see TemplateEditorController.groovy (decrypt)
    182183crypto {
    183         shared.secret = "U73reG*mE^\$t@7s!e%"
     184        shared.secret = RandomStringUtils.random(32, true, true)
    184185}
    185186
Note: See TracChangeset for help on using the changeset viewer.