-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.3.2
-
Fix Version/s: 1.3.3
-
Component/s: wicket-auth-roles
-
Labels:None
In changing from 1.3.1 to 1.3.2 the AuthenticatedWebSession(AuthenticatedWebApplication, Request) method became deprecated, but AuthenticatedWebApplication#newSession still searches for this one.
Simply a matter of changing lines 114-116 of AuthenticatedWebApplication.java from:
return webSessionClassRef.get().getDeclaredConstructor(
AuthenticatedWebApplication.class, Request.class).newInstance(
AuthenticatedWebApplication.this, request);
to:
return webSessionClassRef.get().getDeclaredConstructor(
Request.class).newInstance(
request);