Hi Jan,
Thanks for the reply. You are completely right, overriding
getExtendedId DOES work. I must have made a mistake when I first
tried that and concluded the dot was not in super.getExtendedId. I
was wrong, it is in there.
Thanks a lot also for making the change.
Kind regards,
Silvio
On 01/07/2017 05:14 AM, Jan Bartel
wrote:
Hi Silvio,
To get rid of the workername prefix, you should be able
to set it to "". To get rid of the .workername suffix,
then it is sufficient to override the
DefaultSessionIdManager.getExtendedId(String,HttpServletRequest)
method - if you're still seeing the suffix, that is
wierd, because it is only that method that creates it!
I'm going to make a change for 9.4.1 as follows:
* DefaultSessionIdManager.setWorkerName(null) will coerce
null to ""
* if DefaultSessionIdManager.setWorkerName(String) is never
called, then the current code to set up a default worker name
will be called
* ensure that the tests for prepending the workername and
for suffixing the .workername all skip the addition iff it is
the empty string or null
I'm attaching a diff that I'm working on if you want to
apply it to your local build before 9.4.1 comes out (which
should be soonish).
Jan
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
|