Revision db20f16e
Added by Andreas Kohlbecker over 6 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/security/PermissionDebugUtils.java | ||
---|---|---|
11 | 11 |
import java.util.EnumSet; |
12 | 12 |
|
13 | 13 |
import org.apache.log4j.Logger; |
14 |
import org.springframework.context.annotation.Profile; |
|
14 | 15 |
|
15 | 16 |
import com.vaadin.server.FontAwesome; |
16 | 17 |
import com.vaadin.server.VaadinSession; |
18 |
import com.vaadin.spring.annotation.SpringComponent; |
|
19 |
import com.vaadin.spring.annotation.UIScope; |
|
17 | 20 |
import com.vaadin.ui.AbstractComponentContainer; |
18 | 21 |
import com.vaadin.ui.Button; |
19 | 22 |
import com.vaadin.ui.themes.ValoTheme; |
... | ... | |
38 | 41 |
* @since Oct 11, 2017 |
39 | 42 |
* |
40 | 43 |
*/ |
44 |
@SpringComponent |
|
45 |
@UIScope |
|
46 |
@Profile("debug") |
|
41 | 47 |
public class PermissionDebugUtils { |
42 | 48 |
|
43 | 49 |
|
Also available in: Unified diff
PermissionDebugUtils fixed: again as SpringComponent