Business Central is showing an empty page (https://<business-central-url>/j_security_check?locale=null) after the username and password are entered
Issue
-
I am able to bring up the Business-central monitoring instance, but cannot login, once i enter my credentials it redirects me to
https://<business-central-url>/j_security_check?locale=null
-
We have deployed RHPAM in cluster but after trying to logging in the cluster it gives blank screen and we are not able to login in kieserver console;
-
The latest log file contains the following messages:
2023-05-22T17:01:00.466615220+05:30 [0m[32m11:32:13,032 DEBUG [org.wildfly.security.http.password] (default task-2) Username authentication. Realm: [null], Username: [pamadmin]. 2023-05-22T17:02:13.032764260+05:30 [0m[32m11:32:13,035 DEBUG [org.wildfly.security] (default task-2) Obtaining lock for identity [pamadmin]... 2023-05-22T17:02:13.035382226+05:30 [0m[32m11:32:13,035 DEBUG [org.wildfly.security] (default task-2) Obtained lock for identity [pamadmin]. 2023-05-22T17:02:13.035776312+05:30 [0m[32m11:32:13,039 DEBUG [org.wildfly.security] (default task-2) Creating [class javax.naming.directory.InitialDirContext] with environment: 2023-05-22T17:02:13.039532263+05:30 [0m[32m11:32:13,039 DEBUG [org.wildfly.security] (default task-2) Property [java.naming.security.credentials] with value [******] 2023-05-22T17:02:13.039827748+05:30 [0m[32m11:32:13,039 DEBUG [org.wildfly.security] (default task-2) Property [java.naming.security.authentication] with value [simple] 2023-05-22T17:02:13.039851758+05:30 [0m[32m11:32:13,039 DEBUG [org.wildfly.security] (default task-2) Property [java.naming.provider.url] with value [ldap://10.10.10.10:389] 2023-05-22T17:02:13.039862037+05:30 [0m[32m11:32:13,039 DEBUG [org.wildfly.security] (default task-2) Property [com.sun.jndi.ldap.read.timeout] with value [0] 2023-05-22T17:02:13.039869960+05:30 [0m[32m11:32:13,039 DEBUG [org.wildfly.security] (default task-2) Property [com.sun.jndi.ldap.connect.pool] with value [false] 2023-05-22T17:02:13.039877219+05:30 [0m[32m11:32:13,039 DEBUG [org.wildfly.security] (default task-2) Property [com.sun.jndi.ldap.connect.timeout] with value [5000] 2023-05-22T17:02:13.039884016+05:30 [0m[32m11:32:13,039 DEBUG [org.wildfly.security] (default task-2) Property [java.naming.security.principal] with value [CN=pamadmin,OU=TEST,OU=USERS,OU=TEST,DC=TEST,DC=LOCAL] 2023-05-22T17:02:13.039899975+05:30 [0m[32m11:32:13,039 DEBUG [org.wildfly.security] (default task-2) Property [java.naming.referral] with value [ignore] 2023-05-22T17:02:13.039907036+05:30 [0m[32m11:32:13,039 DEBUG [org.wildfly.security] (default task-2) Property [java.naming.factory.initial] with value [com.sun.jndi.ldap.LdapCtxFactory] 2023-05-22T17:02:13.039914250+05:30 [0m[32m11:32:13,055 DEBUG [org.wildfly.security] (default task-2) [javax.naming.ldap.InitialLdapContext@3c87ac32] successfully created. Connection established to LDAP server. 2023-05-22T17:02:13.055944047+05:30 [0m[32m11:32:13,057 DEBUG [org.wildfly.security] (default task-2) Trying to create identity for principal [pamadmin]. 2023-05-22T17:02:13.057283629+05:30 [0m[32m11:32:13,058 DEBUG [org.wildfly.security] (default task-2) Executing search [(sAMAccountName={0})] in context [DC=TEST,DC=LOCAL] with arguments [pamadmin]. Returning attributes are [null]. Binary attributes are [null]. 2023-05-22T17:02:13.058100409+05:30 [0m[32m11:32:13,064 DEBUG [org.wildfly.security] (default task-2) Context [javax.naming.ldap.InitialLdapContext@3c87ac32] was closed. Connection closed or just returned to the pool.
-
When integrating RHPAM with LDAP using operator and the following configuration, we get presented with the empty screen upon attempt to login:
ldap: baseCtxDN: 'OU=TEST,OU=USERS,OU=TEST,DC=TEST,DC=LOCAL' roleAttributeID: cn bindDN: 'CN=pamadmin,OU=TEST,OU=USERS,OU=TEST,DC=TEST,DC=LOCAL' baseFilter: sAMAccountName roleFilter: '(member={1})' url: 'ldap://10.10.10.10:389' rolesCtxDN: 'OU=TEST GROUPS,OU=GROUPS,OU=TEST,DC=TEST,DC=LOCAL' bindCredential: 'password' allowEmptyPasswords: true loginModule: optional roleNameAttributeID: cn defaultRole: TEST-ADMIN recursiveSearch: true roleMapper: rolesKeepMapped: true rolesProperties: 'TEST-ADMIN=admin,kie-server,rest-all'
Environment
- Red Hat Process Automation Manager (RHPAM) 7.13.3
- Red Hat Container OpenShift Platform (OCP) 4.12
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.