Description
After upgrading from Confluent Control Center Legacy to Confluent Control Center 2.0 you might see login issues when using Basic Auth with Ldap. Users encounter persistent HTTP 401 Unauthorised responses when attempting authentication and the following Error can be seen within Confluent Control Center DEBUG log:
Login error (org.eclipse.jetty.security.jaas.JAASLoginService)
javax.security.auth.login.LoginException: No LoginModule found for org.eclipse.jetty.jaas.spi.LdapLoginModule
Applies To
Confluent Control Center 2.0
Cause
Jetty Upgrade and Classpath change
Resolution
Change LdapLoginModule class name:
- Edit your JAAS configuration file:
-
Replace the legacy entry
org.eclipse.jetty.jaas.spi.LdapLoginModule required -
With the correct class name for Control Center 2.0
org.eclipse.jetty.security.jaas.spi.LdapLoginModule required
-
- Save the changes and restart your Control Center 2.0 instance for the adjustment to take effect