Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

SEC-1131: Convert Portlet module to use 2.0 API (and Spring 3.0.0.M2) #1380

spring-issuemaster opened this Issue Mar 26, 2009 · 10 comments


None yet
1 participant

Migrated from SEC-1131

Michal Capo said:

The problem is that the org.springframework.web.portlet.HandlerInterceptor interface changed/extended.

When I have a project with Spring 3.0.0.M2

and defined this interceptors for my portlets


I get:
Caused by: java.lang.AbstractMethodError: org.springframework.security.context.PortletSessionContextIntegrationInterceptor.preHandleResource(Ljavax/portlet/ResourceRequest;Ljavax/portlet/ResourceResponse;Ljava/lang/Object;)Z
at org.springframework.web.portlet.DispatcherPortlet.doResourceService(DispatcherPortlet.java:838)

Luke Taylor said:

The trunk build is already using Spring 3.0.0.M2 but building of the portlet module is currently disabled in the absence of a suitable maintainer.

If you’d like to submit a patch to fix it, then please attach it here.

Michal Capo said:

Hopefully it helps

Michal Capo said:

Also all portlet tests went OK.

Michal Capo said:

This patch also fix the sample portlet implementation + some little modification to core module. Pls check it.

Luke Taylor said:

Thanks for the patch! I’ll check it out when I get a chance.

Luke Taylor said:

I’ve committed the patch and the build and tests seem to be OK. Let me know if there are any further problems.

Michal Capo said:

You probably forgot to change the portlet API to 2.0.

Luke Taylor said:

Thanks. Looks like I forgot to update that in the sample pom.

Luke Taylor said:


@spring-issuemaster spring-issuemaster added this to the 3.0.0 M1 milestone Feb 5, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment