(auth) callback handler for 100 users
i've a question regarding callback handler.
If i have a WS client which is acting in the name of 100 users, how can
the username or password callback work?
I mean, how does the callback know which name or password needs to be
set? The one of user1 or of user 100?
One possibility is to store the crendentials to a TheadLocal object. The
callback handler can fetch it from there.
But this needs the "one thread for every user" strategy? If i can't use
this strategy, how can i solve the problem? Any great (and simple?) ideas?