Text this: Modeling and validating the class security model using alloy