Search:

Type: Posts; User: sethcall; Keyword(s):

Search: Search took 0.02 seconds.

  1. I think this bug is my root issue. ...

    I think this bug is my root issue.

    https://jira.springframework.org/browse/SEC-356

    Wouldn't any OAuth-based server have this concern? Not sure yet.
  2. I am close now. SecurityContextPersistenceFilter...

    I am close now. SecurityContextPersistenceFilter is calling:

    SecurityContextHolder.setContext(contextBeforeChainExecution);

    This is, over time and in with exceptions occuring in request...
  3. Debugging results

    I am logging every occurrence of SecurityContext.setAuthentication() with the thread ID.

    From observing it, it's really as if there is only one SecurityContext, instead of one-per-thread. For...
  4. Good points

    Definitely using ThreadLocal.

    I'm logging Thread.currentThread().getId() in all logging, to make sure I know what's going on--definitely the same thread is being re-used. So that's a good point. ...
  5. Weird indeed

    Hey stoicflame,

    I do call it elsewhere in the code, but the issue is, in this flow, there should be no opportunity for any other code to do 'get in' The path from the OAuth library calling...
  6. 'Impossible' ClassCastException in ProtectedResourceProcessingFilter?

    This is a real head-scratcher. At least, for me.

    I'm using OAuth 1.0. If I hit a URL that I have protected one-at-a-time, there is no issue. But if make a bunch of concurrent HTTP requests to...
Results 1 to 6 of 6