How to debug authentication process


#1

I want to find out what kind of data requires on Authentication to pass them outside and make SSO.
For this purpose, I want to debug Spring Boot Application with Camunda.
I ran it in Debug MODE and marked breakpoints on:
HttpBasicAuthenticationProvider
ContainerBasedAuthenticationProvider

But Unfortunately, the app didn’t stop.

Maybe someone knows what requires Camunda for Authentication?


#2

Authentication to what? The REST API? Authentication isn’t turned on by default in the standard distributions. You have to turn it on. Here’s a link to some information: https://docs.camunda.org/manual/7.9/user-guide/security/

Basically, you need to crack open the war file using unzip, modify a configuration file, put the war file back together using zip. There’s also code to do LDAP based authentication that is commented out in the WildFly configuration, so I would hope a similar section is available within the SpringBoot configuration. Personally, I have never used the SpringBoot instance.