Skip to main content

SDC error - REST API call error: java.lang.ClassCastException: com.streamsets.lib.security.http.SSOPrincipalJson cannot be cast to org.eclipse.jetty.jaas.JAASUserPrincipal

  • November 27, 2021
  • 0 replies
  • 64 views

AkshayJadhav
StreamSets Employee
Forum|alt.badge.img

After we enable SAML authentication in SCH, in our SDC registered instance we cannot see the pipelines we had there. Instead, we are seeing a blank page. If we look into the logs we can see the exception below:

2021-04-06 19:05:01,813 [user:admin@admin] [pipeline:] [runner:] [thread:webserver-38] [stage:] ERROR ExceptionToHttpErrorProvider - REST API call error: java.lang.ClassCastException: com.streamsets.lib.security.http.SSOPrincipalJson cannot be cast to org.eclipse.jetty.jaas.JAASUserPrincipaljava.lang.ClassCastException: com.streamsets.lib.security.http.SSOPrincipalJson cannot be cast to org.eclipse.jetty.jaas.JAASUserPrincipal

This issue is caused when an SDC had configured LDAP authentication before being registered to SCH, that once we register it this error will appear in the logs. In order to avoid this issue, we need to change the property below from the sdc.properties file:

http.authentication.login.module=file

After a restart, we should be able to see the local pipelines in our SDC.

Did this topic help you find an answer to your question?
This topic has been closed for comments