source: trunk/grails-app/domain/AuthUser.groovy @ 15

Last change on this file since 15 was 15, checked in by duh, 10 years ago

-added initial implementation of authorization code

File size: 556 bytes
Line 
1/**
2 * Authentorization / Authentication User Domain Class
3 * @Author  Jeroen Wesbeek
4 * @Since   20091020
5 * @package Authorization
6 * @see     Authorization.groovy
7 * @see     BaseController.groovy
8 *
9 * Revision information:
10 * $Rev$
11 * $Author$
12 * $Date$
13 */
14class AuthUser {
15    // define many to many relationship with groups
16    static belongsTo = AuthGroup;
17    static hasMany = [ groups: AuthGroup ];
18
19    String  username;
20    String  password;
21    String  firstname;
22    String  lastname;
23    String  email;
24   
25    //static constraints = {}
26}
Note: See TracBrowser for help on using the repository browser.