I want to use keycloak as authentication and authorization server to secure a spring cloud data flow server and manage access to its endpoints.
I set up the scdf server's yml as described in spring's documentation: http://docs.spring.io/spring-cloud-dataflow/docs/1.7.0.RC1/reference/htmlsingle/#configuration-security-oauth2
As a result, authenticaton with users registered in keycloak works. But the authorization rules defined in keycloak do not apply. The reason seems to be the one described in the spring's documentation: http://docs.spring.io/spring-cloud-dataflow/docs/1.7.0.RC1/reference/htmlsingle/#configuration-security-oauth2-authorization
I have difficulties with "customizing the behavior" mentioned there. What exactly must be done? How do I provide the different bean needed? Is there another solution to using keycloak as authorization server for spring cloud dataflow? Does the recent spring security 5.1 release have an effect on this problem?
I am struggling with this for some time now and would appreciate any help or feedback. Thank you in advance!