Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Integrate keycloak with weblogic

Dang TriNov 3 2022 — edited Nov 4 2022

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

This post has been answered by Dang Tri on Nov 4 2022
Jump to Answer

Comments

Arie Geller
Hello,

Please check if the following example, from Denes, can help you - http://apex.oracle.com/pls/otn/f?p=31517:117

Regards,
Arie.
Sam.K
Arie,

I checked that link out , but this is not really what I am looking for. I have created over 100 reports that has the export to excel link and they all work fine EXCEPT this particular report. I tried to compare the properties of this report with other reports and they look same!! I am interested in only knowing if this is possible and knowing the possible reasons behind that.

Thanks,
Arie Geller
Hello,

>> I checked that link out , but this is not really what I am looking for

The ‘No Data Found” issue, while exporting to CSV is not a new issue. Denes blogged about it, and in the example he also explain some pre conditions that can lead to this kind of problem. If you’ll search the forum you’ll find many threads on this problem.

If you created so many working reports in the past, and you can’t figure out the problem, you can appreciate the fact that it’s almost impossible to single out the only one that isn’t working, without seeing it at all. Can you recreate the report, with the problem on apex.oracle.com?

Regards,
Arie.
M Tajuddin
Hi Sam,
Does your query return any column in report region?
Is the table in the same schema?

If you have other reports working fine, it could be a little issue that causing trouble. Did you try eliminate the report and do fresh one again?

Thanks,

Tajuddin
http://tajuddin.whitepagesbd.com
1 - 4

Post Details