Ruben Fragoso wrote:
Now my problem is that i cannot get my portlet started because this code
line:
        
        userManager = (UserManager)
getPortletContext().getAttribute(CommonPortletServices.CPS_USER_MANAGER_COMP
ONENT);

It is throwing this exception:

        Failed to load portlet com.testing.CustomJSPPortlet:
java.lang.ClassCastException:
org.apache.jetspeed.security.impl.UserManagerImpl

Anyone here was able to create a custom portlet to work with the UserManager
in J2 ?

Make sure you don't have the jetspeed-api jar, or any other jetspeed-* jar in your portlet application.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to