Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2-EE-GA_P01
-
Fix Version/s: 1.8.2-EE-GA_P02
-
Component/s: Framework
-
Labels:None
-
Environment:ICEfaces portlet
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial
Description
A customer running a portlet on WebLogic wants to use the Authentication.login() API provided by the container. The signature of that method, surprisingly, requires direct access to the HttpServletRequest and HttpServletResponse:
http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/javadoc/com/bea/p13n/security/Authentication.html
In WebLogic, it appears that calling ExternalRequest.getRequest() in a portlet actually returns something that can be used as an HttpServletRequest. However, with ICEfaces, we provide a PortletExternalContext implementation that returns a PortletRequest of our own and there doesn't currently seem to be a way to drill down and get at the original request to pass into the login() method.
http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/javadoc/com/bea/p13n/security/Authentication.html
In WebLogic, it appears that calling ExternalRequest.getRequest() in a portlet actually returns something that can be used as an HttpServletRequest. However, with ICEfaces, we provide a PortletExternalContext implementation that returns a PortletRequest of our own and there doesn't currently seem to be a way to drill down and get at the original request to pass into the login() method.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23046 | Fri Nov 05 14:40:15 MDT 2010 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/MainServlet.java
MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/BridgeExternalContext.java MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/ServletExternalContext.java MODIFY /icefaces/trunk/icefaces/core/src/org/icefaces/x/context/BridgeExternalContext2.java MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/jasper/Constants.java MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/portlet/PortletExternalContext.java |