Hi to all,

I work with jetspeed 1.5.

I have created a portlet which is an IframeProxyPortlet. Thru this Iframe, I put in the URL the jetspeed USER LOGIN and the jetspeed USER PASSWORD.

The application in the Iframe is an application which is running on the same server as jetspeed (Actually, this is mvnforum).

With the jetspeed USER LOGIN and the jetspeed USER PASSWORD, I would like to access to all the jetspeed information (role, group, permission etc...) from my mvnforum.

I put the following line in the JSP of my application and everything is fine:

 

/******************************************************************************************/

<%-- Jetspeed import --%>

<%@ page import="org.apache.jetspeed.bfc.BFCJetspeedAuthentication" %>

<%@ page import="org.apache.jetspeed.om.security.BaseJetspeedUser" %>

<%@ page import="org.apache.jetspeed.services.security.turbine.TurbineAuthentication" %>

BFCJetspeedAuthentication defaultJetspeedRunData = new BFCJetspeedAuthentication();

/*******************************************************************************************/

 

 

BFCJetspeedAuthentication is a class that I made that extends JetspeedAuthentication.

 

 

Because I want to get a jetspeed user object, I do this:

/***************************************************************************************************************/

BaseJetspeedUser baseJetspeedUser = (BaseJetspeedUser)defaultJetspeedRunData.login(request.getParameter("user"),request.getParameter("password"));

/***************************************************************************************************************/

My mvnforum scratch with a SERIOUS ERROR and the Tomcat Console give me this message:

 

 

 

If anyone has any idea how I can solve my problem, I will make a building named after him.

Thank You by advance.

Reply via email to