0

I am having troubles with migrating to Wicket 1.6.6

First of all, in version 1.6.6, the function continueToOriginalDestination does not return true or false.

Secondly, locateByClassLoader inside the org.apache.wicket.core.util.resource.locator.ResourceStreamLocator does not exist.

Is there any exammple project I can use With wicket 1.6.6 and Spring Security version 3.1.0 or above?

Joetjah
  • 6,292
  • 8
  • 55
  • 90
yoav.str
  • 1,547
  • 6
  • 33
  • 73

2 Answers2

0

There is actually a nice blog about it here. http://www.idesign4all.nl/blog/?p=62 In this blogpost, the author describes by means of a tutorial how you can setup Wicket 1.5 to use Spring Security 3.1 for authentication and Wicket Auth/Roles for authorization.

Another tutorial is written here: http://javajeedevelopment.blogspot.nl/2011/03/integrating-spring-security-3-with.html The author here writes about integrating Spring Security 3 with Wicket.

Also, a tutorial from some older versions of the applications can be found here: http://www.mkyong.com/wicket/wicket-spring-integration-example/ It might be worth a read.

Joetjah
  • 6,292
  • 8
  • 55
  • 90
0

Since Wicket 1.6 continueToOriginalDestination does not return any value any more. For a discussion about it why it was changed have a look at the mailing list

Also make sure you read the javadoc.

ResourceStreamLocator has been cleaned up in Wicket 1.6. (See this commit and the corresponding ticket to it).

Maybe that helps already a bit.

Joachim Rohde
  • 5,915
  • 2
  • 29
  • 46