Sunday, 1 May 2016

ADF Interview Questions - Set 9

Question: What is user customization?
Answer: Term personalization means user can perform changes visible only to that user. Term customization means user with admin privileges can perform global changes, visible to all users. You can achieve personalization functionality within standard ADF framework enabled with MDS. For customization functionality need to use Oracle WebCenter component - Composer.
UserCC class retrieve current user name from security context:



As per documentation, I have created all required Java classes to support Edit and View layers:


User customization and personalization are enabled to be stored across sessions with MDS. This option is needed to store changes for ADF components; Oracle WebCenter Composer is working without this option as well:


I have change customization class from SiteCC to UserCC, this enables personalization:


Session options factory is class must be configured in adf-config.xml to enable customization:


As per documentation, additionally you need to declare Oracle WebCenter Composer servlet in web.xml.
ADF Security defines two application level roles - admin and customer. Admin role is granted with Customization permission:


Session options factory class as per documentation defines two layers - Edit and View. You can see that Edit layer is applied on global level (it’s when Oracle WebCenter Composer is invoked to perform customization). View layer is applied on global and user levels (this means each user will see global customizations and their own personalization):

If Oracle WebCenter Composer is On, Edit layer is enabled, otherwise - View layer:



No comments:

Post a Comment