SecurityContext role information in portlets converted by taskflow

26 views
Skip to first unread message

george

unread,
Jul 27, 2015, 5:01:53 AM7/27/15
to WebCenter EMG
Hi Webcenter guru,



We are using portal 11.1.1.8 portal app. We are converting taskflow to portlets using ADFPortletBridge. In my taskflow view i have used some expression language on few of component rendered property

like if ADF role is this then display and so on. My question is, will inside an portlet this will work because portlet run in separate container.Please advice.

 

How can i make it run without changing the taskflow code?

 

Which things i need to do?


Yannick Ongena

unread,
Jul 27, 2015, 5:05:00 AM7/27/15
to webcen...@googlegroups.com
George,

SecurityContext isn't the same in a portlet as in a taskflow. 
In a portlet it is relying on the JSR standard to propagate security from your application to portlets and this works when your application is using J2EE security but because ADF is using OPSS for security, this isn't propagated to portlets. 

This means that when you convert taskflows to portlets, you will have to rework the security bits. 

On a sidenote, why are you converting taskflows to portlets? Normally taskflows will work just fine and you would only have to use the ADFPortletBridge in specific use cases like when these taskflows also need to be consumed by other portals besides WebCenter but as long as your taskflows only need to be consumed by your own WebCenter Portal there is little advantage in converting them to portlets. 

Regards
Yannick

--
--
You received this message because you are subscribed to the WebCenter Enterprise Methodology Group (http://groups.google.com/group/webcenter-emg). To unsubscribe send email to webcenter-em...@googlegroups.com
 
All content to the WebCenter EMG lies under the Creative Commons Attribution 3.0 Unported License (http://creativecommons.org/licenses/by/3.0/). Any content sourced must be attributed back to the WebCenter EMG with a link to the Google Group (http://groups.google.com/group/webcenter-emg).

---
You received this message because you are subscribed to the Google Groups "WebCenter EMG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webcenter-em...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages