Base64 Encode Class Is Not Recognized In Script Filter
(Doc ID 2043945.1)
Last updated on AUGUST 01, 2023
Applies to:
Oracle API Gateway - Version 11.1.2.1.0 and laterInformation in this document applies to any platform.
Symptoms
On : 11.1.2 version, OAG Policy Studio
It is necessary to gzip a SAML assertion and encode it to send as a HTTP header.
The blog Identity Propagation from OAG to REST APIs protected by OWSM has the steps to follow.
In above link, when implementing the gzip + encode SAML assertion in step 7, the following error is reported:
ERROR
-----------------------
nested fault: sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "Base64" is not defined. (#69) in at line number 69:
javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "Base64" is not defined. (#69) in at line number 69
at com.sun.script.javascript.RhinoScriptEngine.invoke(RhinoScriptEngine.java:300)
at com.sun.script.javascript.RhinoScriptEngine.invokeFunction(RhinoScriptEngine.java:258)
at com.vordel.circuit.script.ScriptProcessor.invoke(ScriptProcessor.java:51)
at com.vordel.circuit.InvocationEngine.invokeFilter(InvocationEngine.java:150)
at com.vordel.circuit.InvocationEngine.invokeCircuit(InvocationEngine.java:42)
at com.vordel.circuit.CircuitDelegateProcessor.invoke(CircuitDelegateProcessor.java:45)
at com.vordel.circuit.InvocationEngine.invokeFilter(InvocationEngine.java:150)
at com.vordel.circuit.InvocationEngine.invokeCircuit(InvocationEngine.java:42)
at com.vordel.circuit.InvocationEngine.recordCircuitInvocation(InvocationEngine.java:276)
Due to this occurring, the project cannot be finished.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |