Project

General

Profile

Actions

bug #8848

open

Search fails with low data rate network (64kbit/s) network connection due to lost authentication

Added by Andreas Kohlbecker about 4 years ago. Updated about 4 years ago.

Status:
Feedback
Priority:
Highest
Category:
taxeditor
Target version:
Start date:
Due date:
% Done:

50%

Estimated time:
Severity:
normal
Found in Version:

Description

During testing the taxeditor with low data rate network conditions 64kbit/s, the search fails, since the authentication is missing. The server responds with HTTP status 401.

Debugging revealed that the search is running in a separate thread but the SecurityContextHolderStrategy being used is set to MODE_THREADLOCAL (default). The login dialog is operating in a different thread (main thread?) so that the authentication is not accessible in the search thread.

Interestingly there is no problem with networks connections having a higher data rate.

As solution I suggest to switch to SecurityContextHolder.MODE_GLOBAL, this anyway is the correct strategy for an desktop client application.


Related issues

Related to EDIT - bug #8812: Connection losses in taxeditor HTTP invoker (RemoteAccessException: Could not access HTTP invoker remote service at ...)ResolvedAndreas Müller

Actions
Related to EDIT - task #8841: clean up application context configurationIn ProgressAndreas Müller

Actions
Actions

Also available in: Atom PDF