My Oracle Support Banner

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

Last updated on DECEMBER 22, 2023

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

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
 2.4.5 Get User for Given Principal
Cause
Solution
References


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