ProfileFactory profileFactory = ProfileFactory.getInstance();
if(null == profileFactory) {
// no CCPP implementation available, just return null
return null;
} else {
Profile result = profileFactory.newProfile(httpServletRequest);
return result;
}
}
}