Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Overriding the default UserProfileService
Matias
Hello,
Livesite comes with their own owner management framework that relies on the db and hibernate.
However, our project has a centralized user hub that we need to leverage for authentication and user profile storage.
I'm trying to override the ootb UserProfileService bean to communitate with the user hub instead of hibernate.
I've tried adding my custom bean to the customer-resource-config.xml like this:
[html]
class="cms.services.WVOUserProfileService"
parent="production.p13n.UserProfileService">
[/html]
I've overriden all classes from the OOTB BaseUserProfileService.
However, the OOTB hibernate BaseUserProfileService seems to be called instead of mine.
If I go to the OOTB production.p13n.UserProfileService bean definition and change it there it seems to work fine.
Is there something wrong in the way I'm extending the OOTB bean? Or is that the expected behavior?
Find more posts tagged with
Comments
Crsb
did you verify if you changes made it to:
TeamSite/httpd/webapps/content_center/WEB-INF/conf/livesite_customer/resources
the parent bean name matches what you have in TeamSite/httpd/webapps/content_center/WEB-INF/conf/livesite/resources
are you testing in TS or LS runtime?