1 |
071c2929
|
Andreas Kohlbecker
|
/**
|
2 |
|
|
* Copyright (C) 2017 EDIT
|
3 |
|
|
* European Distributed Institute of Taxonomy
|
4 |
|
|
* http://www.e-taxonomy.eu
|
5 |
|
|
*
|
6 |
|
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7 |
|
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8 |
|
|
*/
|
9 |
|
|
package eu.etaxonomy.cdm.vaadin.event;
|
10 |
|
|
|
11 |
|
|
/**
|
12 |
|
|
* This Event reports a successful authentication
|
13 |
|
|
*
|
14 |
|
|
* @author a.kohlbecker
|
15 |
|
|
* @since Apr 25, 2017
|
16 |
|
|
*
|
17 |
|
|
*/
|
18 |
|
|
public class AuthenticationSuccessEvent implements AuthenticationEvent {
|
19 |
|
|
|
20 |
|
|
String userName;
|
21 |
|
|
|
22 |
|
|
/**
|
23 |
|
|
* @param e
|
24 |
|
|
* @param userName
|
25 |
|
|
*/
|
26 |
|
|
public AuthenticationSuccessEvent(String userName) {
|
27 |
|
|
this.userName = userName;
|
28 |
|
|
}
|
29 |
|
|
|
30 |
eca2b6b0
|
Andreas Kohlbecker
|
public String getUserName(){
|
31 |
|
|
return userName;
|
32 |
|
|
}
|
33 |
|
|
|
34 |
071c2929
|
Andreas Kohlbecker
|
}
|