Embedding User Experience
The product supports embedding application and being embedded in applications. To use this facility several settings must be configured appropriately including:
Set embedded behavior. Set the following values in the spl.properties file used for the online:
Setting
Comments
com.oracle.ouaf.web.csp.enable
Set to true
com.oracle.ouaf.web.allowCORS
Set to true
com.oracle.ouaf.web.csp.allowedFrameAnsMaxNumber
Set to 2 or more
com.oracle.ouaf.web.disableSecureCookie
Set to false
com.oracle.ouaf.uriSubstitutionVariables.file
Set to location of substitution file
Set the URI substitutions. Set the substitution variables for your embedded or embedding application to avoid hardcoding in the file indicated in com.oracle.ouaf.uriSubstitutionVariables.file. For example:
<?xml version="1.0" encoding="UTF-8"?>
<substitutionVariables>
<uriVariable>
<name>CSP_FRAME_ANS_HOST1</name>
<value>https://[FRAMING-HOST-URL]</value>
</uriVariable>
<uriVariable>
<name>CSP_FRAME_ANS_HOST2</name>
<value>https://[FRAMING-HOST-URL]</value>
</uriVariable>
</substitutionVariables>