OAM 11g: InvalidSearchFilterException Error In Custom Form Based Auth Scheme And Module Config

(Doc ID 1373275.1)

Last updated on JUNE 06, 2017

Applies to:

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


Custom form based authentication scheme and custom authentication module plug-in configuration fail.
There is the following errors in logs:

at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: javax.naming.directory.InvalidSearchFilterException: Unbalanced paren
thesis; remaining name 'ou=people,ou=myrealm,dc=base_domain'
at com.sun.jndi.ldap.Filter.findRightParen(Unknown Source)
at com.sun.jndi.ldap.Filter.encodeComplexFilter(Unknown Source)
at com.sun.jndi.ldap.Filter.encodeFilter(Unknown Source)
at com.sun.jndi.ldap.Filter.encodeFilterString(Unknown Source)
at com.sun.jndi.ldap.LdapClient.search(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.doSearch(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.searchAux(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.c_search(Unknown Source)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(Unknown Source)

Initial for custom authentication module plug-in the following settings was tried:

KEY_LDAP_FILTER = (objectclass=inetOrgPerson)
KEY_SEARCH_BASE_URL = ou=people,ou=myrealm,dc=base_domain


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