I have a ear with a war module.
In the war module i have security contraint to all jsp. (i'm using FORM based
login)
This works fine usually.
Now i try to deploy the same ear in a portal.
I have create a new GenericPortlet class
public class ABSolutionPortlet extends GenericPortlet
{
public void init(PortletConfig portletConfig) throws UnavailableException,
PortletException
{
System.out.println("*** ABSolutionPortlet init");
super.init(portletConfig);
}
public void doView(RenderRequest request, RenderResponse response) throws
PortletException, IOException
{
System.out.println("*** ABSolutionPortlet doView");
response.setContentType("text/html");
PortletContext context = getPortletConfig().getPortletContext();
//context.getRequestDispatcher("/GenericProcess.abs?rXMLFile=com/dat/abs/run/ABSUserDefSession.xml").include(request,
response);
context.getRequestDispatcher("/Main.jsp").include(request, response);
}
}
My portlet redirect to a jsp (Main.jsp).
Now if i connect to the portal and link to my portlet , i can see the Main.jsp
but the login for is bypassed...
Why?
Main.jsp in under security and i haven't done any login...
If i connect to main.jsp outsite the portal all work fine.
Thank You
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871307#3871307
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871307
-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development