I am now using Oracle ADF v12.2.1.2 and I want to integrate WebLogic with keycloak for the authorization.
I have overridden the ADFSecurityContext getUsername and getUserRoles methods and now I can log in by keycloak. Now I want to implement the RBAC (Role based access control) with Keycloak information. The idea is to reuse the config from jazn-data.xml (which currently works well with ADF)
But now I have a problem, I cannot bypass the validation of jazn-data config. Even though I have overridden the current user role in the SecurityContext with the associated role gotten from Keycloak .The result is always: "Not authorized. Operation: invoke".
What is the best way to solve this problem or do you have any idea?
Thanks for any help