source: trunk/grails-app/domain/dbnp/authentication/SessionAuthenticatedUser.groovy @ 983

Last change on this file since 983 was 983, checked in by robert@…, 13 years ago

New type of authentication and authorization added to the rest controller. See ticket 118

File size: 520 bytes
Line 
1/**
2 * SessionAuthenticatedUser Domain Class
3 *
4 * This class represents a user that has logged in from another module, using
5 * the session id
6 *
7 * @author      Robert Horlings (robert@isdat.nl)
8 * @since       20101022
9 * @package     dbnp.authentication
10 *
11 * Revision information:
12 * $Rev$
13 * $Author$
14 * $Date$
15 */
16package dbnp.authentication
17
18class SessionAuthenticatedUser {
19    String  consumer
20    String  token
21    Date    expiryDate
22    SecUser secUser
23
24    static constraints = {
25        token: unique: true
26    }
27
28}
Note: See TracBrowser for help on using the repository browser.