Issue
The Data Collector UI does not show anything after registering with the Control Hub. In the log file, the user may see the following exception:
2018-12-10 20:18:08,293 [user:user@org] [pipeline:] [runner:] [thread:webserver-27] ERROR ExceptionToHttpErrorProvider - REST API call error: java.lang.ClassCastException: com.streamsets.lib.security.http.SSOPrincipalJson cannot be cast to org.eclipse.jetty.jaas.JAASUserPrincipal
java.lang.ClassCastException: com.streamsets.lib.security.http.SSOPrincipalJson cannot be cast to org.eclipse.jetty.jaas.JAASUserPrincipal
Solution
This issue can occur when the Data Collector is still enabled with LDAP. Disabling LDAP in SDC is part of the steps when registering the Data Collector with the Control Hub:
Open the Data Collector configuration file, $SDC_CONF/sdc.properties
, and verify that the http.authentication.login.module property is set to file.