]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - org.argeo.security.ui/src/org/argeo/security/ui/views/UserProfile.java
Move auth related widgets to CMS
[lgpl/argeo-commons.git] / org.argeo.security.ui / src / org / argeo / security / ui / views / UserProfile.java
index 3f1f000bff9600bf32cca041270bf600173ace6f..590fb35d6bda2a8a3ebd406ed2fdd3d280aa58bf 100644 (file)
@@ -30,7 +30,7 @@ import org.eclipse.swt.layout.GridLayout;
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.swt.widgets.Table;
 import org.eclipse.ui.part.ViewPart;
-import org.springframework.security.Authentication;
+import org.springframework.security.core.Authentication;
 
 /** Information about the currently logged in user */
 public class UserProfile extends ViewPart {
@@ -66,6 +66,8 @@ public class UserProfile extends ViewPart {
        }
 
        private class RolesContentProvider implements IStructuredContentProvider {
+               private static final long serialVersionUID = -4576917440167866233L;
+
                public Object[] getElements(Object inputElement) {
                        return new TreeSet<String>(CurrentUser.roles()).toArray();
                }