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

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

1 participant

@spring-issuemaster

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)

@spring-issuemaster

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.

@spring-issuemaster

Michal Capo said:

Hopefully it helps

@spring-issuemaster

Michal Capo said:

Also all portlet tests went OK.

@spring-issuemaster

Michal Capo said:

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

@spring-issuemaster

Luke Taylor said:

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

@spring-issuemaster

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.

@spring-issuemaster

Michal Capo said:

You probably forgot to change the portlet API to 2.0.

@spring-issuemaster

Luke Taylor said:

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

@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