OAM 11g Authentication Fails With Custom Authentication Although The Custom Authentication Plugin Executes Successfully

(Doc ID 1452019.1)

Last updated on MARCH 08, 2017

Applies to:

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


An Oracle Access Manager (OAM) custom authentication plugin has been configured in OAM 11g. The plug-in retrieves user information from an external source then the authentication process invokes the system UserIdentificationPlugin to check the user's credentials in an LDAP Identity Store.

The plugin retrieves user data and instantiates an AuthenticationContext object with OAMUserPrincipal, OAMUserDNPrincipal, OAMGUIDPrincipal and a PluginResponse object with the ExecutionStatus.

During tests, although the OAM diagnostic log shows entries that indicate that the plugin sets the above objects correct and returns ExecutionStatus.SUCCESS, OAM authentication fails and the login page is redisplayed to the user.

The Custom Authentication Module has been configured with two Steps as follows:

Step 1 (Initializing step): MyCustomPlugin
  On Success: LDAPUserIdentification
  On Error: failure
  On Failure: failure

Step 2: LDAPUserIdentification
  On Success: success
  On Failure: failure
  On Error: failure



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