- Red Hat Single Sign-On 7
- I want call java code from an external jar to create claims data in a script mapper.
- Calling java code from scripts using Java Scripting API (JSR 223)
You first need to make the code available in a global module in Red Hat Single Sign-On. See solution:
The java code needs to be available to Red Hat Single Sign-On, so a module is necessary, then, since the script mapper uses the Java Scripting Api, it can call the java code directly.
- Red Hat Single Sign-On
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.