Yeah I changed the crossContext for both the portal and the external app.
The getAttribute("user",PortletSession.APPLICATION_SCOPE) you had suggested
is a PortletSession only method. The "request" in the previous email was not
a PortletRequest...
Since I am retreving "user" from an external non-portlet Struts app I cannot
create a PortletSession to use this method.
Is there something I'm missing out?? From what I've read till now, the
PortletSession is just an interface, and also is valid within the http
request context. I need to use an http request session object to get the
attribute.
-Akshay
myportal.xml:
<Context path="/myportal" docBase="myportal" crossContext="true">
<Realm className="org.apache.catalina.realm.JAASRealm"
appName="Jetspeed"
userClassNames="org.apache.jetspeed.security.impl.UserPrincipalImpl
"
roleClassNames="org.apache.jetspeed.security.impl.RolePrincipalImpl
"
useContextClassLoader="false"
d...
sheet.xml:
<?xml version="1.0" encoding="UTF-8"?>
<Context path="/rapsheet" docBase="rapsheet" crossContext="true"/>