December 2008
1 post
2 tags
Gldapo Validation
I am about to commit the new GORM inspired validation mechanism to Gldapo. Here is what it is going to look likeā¦
Declaring your constraints
Instead of a DSL like GORM, we are using annotationsā¦
import gldapo.schema.annotations.
class Person {
@GldapoNamingAttribute
String uid
@Required
String sn
@Required
@Matches(/[A-Z]./)
String givenName
} Plugging in your...