My Oracle Support Banner

OAM 11g Login With Custom Authentication Plug-In Returns "Authentication Failed": Trace Log Has Message "Number of service references: null" (Doc ID 1418789.1)

Last updated on SEPTEMBER 13, 2023

Applies to:

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

Symptoms


A custom authentication plugin is being configured with Oracle Access Manager (OAM) 11.1.1.5 Server, with reference to the documentation below:

Oracle Fusion Middleware Developer's Guide for Oracle Access Manager and Oracle Security Token Service 11g Release 1 (11.1.1)
3 Creating Custom Authentication Plug-ins

After successful Upload/Distribute/Activate of the custom plugin jar file, attempts to test OAM authentication using the custom plugin fail.

The OAM diagnostic log file with TRACE logging enabled oracle.security.am.plugin.* for shows the entries similar to the following, with message ""Number of service references: null".



Steps to reproduce

1. Create a custom authentication plugin following the guidelines in the OAM 11gR1 Developers Guide and package the plugin as an OSGI Bundle jar file.
2. In OAM Console, complete the process to Upload/Distribute/Activate the custom authentication plugin. Complete these actions without errors.
3. Configure an authentication module and an authentication scheme to reference the custom plugin.
4. Configure a resource in an OAM Application Domain to use the custom plugin authentication scheme.
5. Access the resource in a browser and submit credentials in the OAM SSO login page:  Error: Authentication Failed. The TRACE OAM diagnostic log shows debug message "Number of service references: null" when loading the custom plugin.


Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.