Using a Pre-authn Rule to Detect the Browser Type Does Not Work

(Doc ID 2174286.1)

Last updated on JANUARY 24, 2018

Applies to:

Oracle Access Manager - Version and later
Information in this document applies to any platform.


Using a pre-authN rule to detect the browser type does not work as expected. The rule always returns "false".

Oracle Access Manager 11g (OAM

Steps to reproduce:

1. Create a pre-authN rule of:

request.userAgent.lower().find('firefox') > 0

The condition of the rule is to deny access to any user with a Firefox browser. However, all browser types can access the resource and the OAM log shows that the rule always evaluates to false.

When the request for obrareq.cgi goes through some sort of proxy it seems to mess up the userAgent headers. For example, when configured to go through Oracle Traffic Director (OTD) we see the following in the OAM diagnostic log:





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