LDAP User Cannot Login to Any of the Weblogic (WLS) Servers Via SDK (Doc ID 1078574.1)

Last updated on NOVEMBER 19, 2016

Applies to:

Oracle Agile PLM Framework - Version 9.3.0.1 to 9.3.0.1 [Release 9.3]
Information in this document applies to any platform.

Symptoms

A SDK application fails to create a session when authenticating through LDAP connecting to Weblogic application server (WLS)

Error: " Root Cause exception : javax.security.auth.login.LoginException: java.lang.SecurityException: User: b76731c6d95b0872:48ebcfcc:126a09bd660:-8000::c_utest, failed to be authenticated."

The same user can login to the WebClient.

User authenticated against the Agile PLM database can create session using SDK without errors.

Sample test code:

---------------------

public static final String URL = "http://server.oracle.com:7001/Agile";
private static IAgileSession connect() throws APIException {
IAgileSession myServer = null;
AgileSessionFactory instance = AgileSessionFactory.getInstance(URL);
params = new HashMap();
params.put(AgileSessionFactory.USERNAME, USERNAME);
params.put(AgileSessionFactory.PASSWORD, PASSWORD);
myServer = instance.createSession(params);
System.out.println("Connected to server");
return myServer;
}

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