//logger.error("User identifier not found. Cannot build user profile object");
//throw new SecurityException("User identifier not found.");
}
} else {
SsoServiceInterface userProxy = SsoServiceFactory.createProxyService();
userId = userProxy.readUserIdentifier(servletRequest);
logger.debug("OUT,userId:"+userId);
// if we are in SSO and user has a previous profile keep it!
if (previousProfile != null && previousProfile.getUserId().equals(userId)) {
if (previousProfile != null) {
profile = previousProfile;