Skip to Content
0
Jul 27, 2005 at 07:13 AM

JSP application as portal iView

97 Views

I have a JSP application which runs successfully on the SAP J2EE engine and which I have integrated in Enterprise Portal 6.0 as an URL iView. The JSP application runs on the same J2EE engine as the EP.

The problem with this setup is that the JSP application is blissfully unaware of the current portal user. Is there a way to make the portal pass on its user information to the JSP application?

Thanks in advance,

Thorsten

-

-


Thanks for the quick replies - I can tell I need to clarify a few things:

1. The JSP application is a standard J2EE JSP application, i.e. it knows nothing about the portal. So EP-specific APIs are not available and there are no JSPDynpages involved.

2. I have tried using the standard request.getUserPrincipal() method, but this returns null. If I force user authentication via web.xml, the user is simply prompted for username and password again. And apparently J2EE users are not the same as Portal users.

In short, I guess you could say that what I am trying to establish is SSO between EP and the JSP application.

Regards,

Thorsten

Message was edited by: Thorsten Søbirk