yellowsnow/grails-shiro-ui — pull request #3 by stokito (2012-09-25 17:35:07+00:00)
Title: Small cleanup

Thanks a lot for your plugin!

Please take a look on this patch. It contains minor changes:
1. By defining a lastUpdated and dateCreated property these will be automatically updated for you by GORM. See Automatic timestamping section in Grails docs.
2. It better to avoid using of primitive types in domain fields. For example you can't make validation for them. I changed type of field ShiroUser.passwordChangeRequiredOnNextLogon to Boolean class.
3. Tokens are always same size: 64. This patch contains explicit declaration of maxSize for passwordHash field.