package org.argeo.security.ui.admin.internal.providers;
+import java.util.Dictionary;
+
import org.osgi.service.useradmin.User;
/** Simply declare a label provider that returns the Primary Mail for a user */
@Override
public String getText(User user) {
- Object obj = user.getProperties().get(KEY_MAIL);
+ @SuppressWarnings("rawtypes")
+ Dictionary props = user.getProperties();
+ Object obj = props.get(KEY_MAIL);
if (obj != null)
return (String) obj;
else