encryption - How do I encrypt a string in a Grails domain class? -


for example, created domain class:

package loginproject  class user {      string name     string password     boolean state      static constraints = {     } } 

i think idea encrypt password string not know start. algorithm? need do?

if need complete authentication , authorization solution +1 spring security core plugin. if want encrypt domain class or parts of in db, go http://www.grails.org/plugin/crypto.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -