AdfAuthentication Cannot Handle Concurrent Requests
Last updated on JANUARY 19, 2018
Applies to:Oracle WebCenter Content - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
After securing images using a Security Group and removing read permission for "guest" role, a custom portal page using images from content server, displays duplicate image instead of single image.
Content Server and Portal are configured using Kerberos SSO.
On analysis of HTML in the portal, it is noticed that the html source in portal correctly points to the content server urls for the images.
Testing each image url separately displays the correct image. So the issue was further analyzed using Fiddler Trace.
When the browser received the HTML, it starts a new HTTP request for each image because the HTML only contains the image URL (HREF hiperlink). For each image download request, the first response was 302 and the new location was the UCM ADFAuthenticated login page. The UCM ADFAuthenticated Login page, in its turn, received the Single Sign On Kerberos sucessfully and redirected to a new URL location: the last (and same) image requested by the browser.
And that is the cause of the problem: ADFAuthenticated login page does not support concurrent multiple requests. The browser started one download thread for each image and all of them requested the ADFAuthenticated page almost at same time.
Steps to Reproduce:
1. Checkin 2 images into the Secure group in content server.
2. Create a HTML file with two image tags pointing to the weblayout location of the two images.
3. Checkin the html file to public security group so its accessible without login.
4. Access the html file without logging in to the content server. Notice that neither of the images show. Instead there is a X mark.
5. In another browser tag, login to content server.
6. Refresh the HTML file. Notice that both images show now.
7. Now test this in a Kerberos setup.
8. Notice that when the html page is loaded in the browser, sometimes only one image shows, sometimes same image shows in both spots.
This happens only for the first time load.
Refereshing the page fixes the issue.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms