starena / jopenid

Automatically exported from code.google.com/p/jopenid
0 stars 0 forks source link

getAuthQuery is not thread safe and also caches the wrong alias if used with multiple providers #18

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Using authQuery cache variable is both not thread safe and not correct. If one 
will use both Yahoo and Google, for example, the authQuery will cache the first 
provider "alias" and will use it for the second as well.

Original issue reported on code.google.com by slavik.m...@gmail.com on 15 Dec 2010 at 7:05

GoogleCodeExporter commented 8 years ago
should use map to store alias - provider pairs

Original comment by askxuefeng@gmail.com on 8 Mar 2011 at 2:19