Forum Stats

  • 3,874,178 Users
  • 2,266,677 Discussions


Integrate keycloak with weblogic

User_5BOGP Member Posts: 2 Green Ribbon
edited Nov 4, 2022 6:23AM in JDeveloper and ADF

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

Best Answers