Title:
Login method on cfide.adminapi.administrator component failing intermittently
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/CannotReproduce
Reporter/Name(from Bugbase): Benjamin Reid / Benjamin Reid (Benjamin Reid)
Created: 08/02/2012
Components: Security
Versions: 10.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: Final /
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Windows 7 SP1 64-bit
Vote Count: 0
I can run the code below successfully, but if I run the same bit of code repeatedly it fails intermittently with an error of type "coldfusion.security.SecurityManager$UnauthenticatedCredentialsException".
CODE:
objAdminAPIAdministrator = CreateObject("component", "cfide.adminapi.administrator");
AdminAPIAuthentication = objAdminAPIAdministrator.Login(AdminUserID=Username, AdminPassword=Password);
A critical factor though is that it only ever seems to fail when there are multiple requests at the same time in contention. We have a frameset where both frames execute the code above, and when you load the frameset (which then calls both frames) we get the error intermittently; but if you just reload one of the frames repeatedly it never fails. So the problem seems to be with contention of the two requests rather than actually authenticating.
We used the exact same approach in CF 8 and 9 with no issues - it is only a problem in CF 10.
I just tried running it 10 times; it failed 5 times and worked 5 times.
The username being used is not 'admin' but another one that is setup with full rights.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3301875
External Customer Info:
External Company:
External Customer Name: Ben Reid (AUS)
External Customer Email:
External Test Config: My Hardware and Environment details:
Windows 7 SP1 64-bit; Dell Precision T3500 24GB RAM; ColdFusion 10.0.0
Attachments:
- August 03, 2012 00:00:00: 1_120803_CF10_-_Bug_with_Admin_API_Login_method.pdf
Comments: