I am working on Web Express Logon using Portal Credential Vault on HATS 9.0 and WPS 126.96.36.199 CF09. Using standard JSR-168 portlet specification in my HATS project which is for testing only but it will be JSR-286 in the real project. As per the API I have to get javax.portlet.PortletRequest object in a HATS business logic, I am using following line to get it.
javax.portlet.PortletRequest portletRequest = (javax.portlet.PortletRequest) blInfo.getRequest();
but getting java.lang.ClassCastException at this line:
Caused by: java.lang.ClassCastException: com.ibm.hats.portlet.runtime.Jsr168PortletRequest incompatible with javax.portlet.PortletRequest
... 301 more
This portletRequest must be the javax.portlet.PortletRequest as per the API. Do you think I am not getting the portletRequest object correctly? Any quick help will be highly appreciated. Thanks!