AuthenticatedWebApplication uses deprecated constructor of
AuthenticatedWebSession
----------------------------------------------------------------------------------
Key: WICKET-1423
URL: https://issues.apache.org/jira/browse/WICKET-1423
Project: Wicket
Issue Type: Bug
Components: wicket-auth-roles
Affects Versions: 1.3.2
Reporter: Chris Davies
Priority: Minor
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);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.