String paramString = request.getParameter("authorities_noBind");
if (!StringUtil.isEmpty(paramString)) {
List<String> assignedIdsList = Arrays.asList(paramString.split(","));
Set<EmployeeAuthority> assignedAuthorities = new HashSet<EmployeeAuthority>();
for(String id : assignedIdsList) {
EmployeeAuthority authority = employeeAuthorityService.findEntity(new Long(id));
assignedAuthorities.add(authority);
}
employee.setEmplAuthorities(assignedAuthorities);
}
}