If event SECJ0336E is in a JVMs SystemOut.log or HPEL, this means that the user could not authenticate to LDAP.
[10/11/17 19:04:55:231 CDT] 00000ca0 LdapRegistryI E SECJ0336E: Authentication failed for user cn=JohnDoe,ou=Users,ou=public,o=example because of the following exception javax.naming.OperationNotSupportedException: [LDAP: error code 53 – NDS error: login lockout (-197)]
For example, in this example, the authentication failed when attempting to sign in as Bugs.
As the error implies, the user could not authenticate against LDAP. The most likely cause of this problem is the obvious one - the username or password provided in the request may not exist in LDAP. Ensure the username and password exist in LDAP.