1 package fr.paris.lutece.portal.business.event;
2
3 import fr.paris.lutece.portal.service.security.LuteceUser;
4
5 public class LuteceUserEvent extends AbstractLuteceEvent<LuteceUser>
6 {
7
8
9
10 public enum EventType {
11 LOGIN_SUCCESSFUL,
12 LOGIN_FAILED,
13 USER_CREATED,
14 USER_DELETED,
15 PASSWORD_CHANGED_SUCCESSFUL,
16 LOGOUT;
17 }
18
19
20 private EventType _type;
21
22
23
24
25
26
27
28 public LuteceUserEvent(LuteceUser user, EventType type )
29 {
30 super( user );
31 _type = type;
32 }
33
34
35
36
37
38 public EventType getType( )
39 {
40 return _type;
41 }
42 }