tracker issue : CF-3301875

select a category, or use search below
(searches all categories and all time range)
Title:

Login method on cfide.adminapi.administrator component failing intermittently

| View in Tracker

Status/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:

  1. August 03, 2012 00:00:00: 1_120803_CF10_-_Bug_with_Admin_API_Login_method.pdf

Comments:

See the attached PDF for a CFDUMP of the CFCATCH strcuture for the error
Comment by External U.
18617 | August 02, 2012 08:31:29 PM GMT
This appears to have been corrected after we applied ColdFusion 10 Update 11.
Comment by External U.
18618 | August 05, 2013 02:06:34 AM GMT
Unable to repro it . Closing it (Comment added from ex-user id:yrr)
Comment by Adobe D.
18619 | October 07, 2013 11:41:15 PM GMT