Spring Boot Multiple Authentication Filter By Overriding Keycloak Authentication Filter
If you want to use Keycloak in your application, at the backend side you will extend KeycloakWebSecurityConfigurerAdapter. If you apply this extension, your backend application will use only Keycloak mechanism. If you want to use your both default database supplied JWT authentication mechanism(DaoAuthenticationProvider) and Keycloak(Provider) mechanism, you may use the approach given in github:
You can improve the codes and customize according to your needs.
M Cem Yaşar