OPSS - getUser(principal, readOpts) - Reports Error: entity=oamadmin op=read mesg=Invalid DN Syntax (Doc ID 2082363.1)

Last updated on DECEMBER 02, 2015

Applies to:

Oracle Platform Security for Java - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

Issue using the IGF API

user = uMgr.getUser(principal, readOpts);

Throws following error message:

Operations error: entity=oamadmin op=read mesg=Invalid DN Syntax

If authenticateUser method is not sued with the getUser method.

In this specific case its already authenticate against form based authentication, then principal is known.

So, there is not necessity to use authenticateUser again to get the principal.

SAMPLE IGF CODE:

2.4.5 Get User for Given Principal

 

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