if (up == NOT_FOUND)
{
// julien : integration bug fix
// Return an empty profile to avoid NPE in portal
// Should clarify what do do (maybe portal should care about returned value)
UserProfileImpl profile = new UserProfileImpl();
profile.setUserName(userName);
return profile;
}
else
{
return up;