EPUserUtils class fix
[portal.git] / ecomp-portal-BE-common / src / main / java / org / onap / portalapp / portal / service / EPRoleFunctionServiceImpl.java
index 4a3cf63..c088164 100644 (file)
@@ -86,7 +86,7 @@ public class EPRoleFunctionServiceImpl implements EPRoleFunctionService {
                                .getAttribute(SystemProperties.getProperty(SystemProperties.ROLE_FUNCTIONS_ATTRIBUTE_NAME));
 
                if (roleFunctions == null) {
-                       HashMap roles = EPUserUtils.getRoles(request);
+                       HashMap roles = (HashMap) EPUserUtils.getRoles(request);
                        roleFunctions = new HashSet();
 
                        Iterator i = roles.keySet().iterator();