usermanager:loginuser tag fails when using password obtained from ini file using property:get jsp tag (Doc ID 1537004.1)

Last updated on OCTOBER 03, 2017

Applies to:

Oracle WebCenter Sites - Version 11.1.1.6.1 and later
Information in this document applies to any platform.

Symptoms

Login fails for usermanager:loginuser tag when obtaining password from ini file using property:get tag.

User does not get logged in, and the following error is seen in the logs:

[fatwire.logging.cs.auth] Error in evaluation;com.openmarket.directory.jndi.auth.JNDILogin
[fatwire.logging.cs.framework] error: errno -2 on attempt to login
   .
   .

You would also see the following if Sites is integrated with LDAP:

[fatwire.logging.cs.auth] Login failed. Exception thrown while getting Dir context for user:fwadmin
javax.naming.AuthenticationException: [LDAP: error code 49 ...
  at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3067)
  at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3013)
  at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2815)
  at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2729)
  at com.sun.jndi.ldap.LdapCtx.(LdapCtx.java:296)
  .
  .
  .

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