OAM IWA Login Fails With ErrInvalidSchemeMapping Error (Doc ID 1305675.1)

Last updated on MARCH 08, 2017

Applies to:

COREid Access - Version: 10.1.4.3.0 and later   [Release: No Release Description and later ]
Information in this document applies to any platform.

Symptoms

Oracle Access Manager (OAM) has been configured to protect application resources with an Integrated Windows Authentication (IWA) scheme to allow users seamless access to OAM-protected resouces using their Windows domain credentials.

As per the OAM 10g requirements for IWA, protected resource requests are routed to an IIS webserver with WebGate installed.

When the protected resource is accessed from a client machine that is logged into the Windows domain ErrInvalidSchemeMapping error occurs, either producing error HTTP-404 Page Cannot be Displayed or a message similar to the following:


The mapping of credentials (Resource=/test/dump.asp RequesterIP=10.10.10.10
HostTarget=http://oam.oracle.com Operation=GET) to a user profile failed. The Access Server may not be able to connect to the user directory, or the authentication scheme IWA may have an invalid obMappingFilter parameter for its credential_mapping plugin.


The IIS webserver is correctly configured to perform Integrated Windows Authentication. This has been confirmed because if the WebGate ISAPI filter is removed from IIS and the /test/dump.asp test page which prints the HTTP Header variables is accessed, the expected REMOTE_USER value is displayed.

The OAM IWA authentication scheme correctly has:


Challenge Parameter: creds:REMOTE_USER


The credential_mapping plugin in the scheme is correctly set to use REMOTE_USER variable for credential mapping e.g.


credential_mapping : obMappingBase="dc=oracle,dc=com",obMappingFilter="(&(objectclass=user)(samaccountname=%REMOTE_USER%))"




Cause

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