Author: oracleappsadmin

Defining caching rules for images in the ADF Faces Caching Filter

<adf-faces-config xmlns=”http://xmlns.oracle.com/adf/faces/config”> <caching-rules> <caching-rule id=”cache js”> <cache>true</cache> <compress>true</compress> <duration>99999</duration> <agent-caching>true</agent-caching> <cache-key-pattern>*.js</cache-key-pattern> </caching-rule> <caching-rule id=”cache jpeg”> <cache>true</cache> <compress>false</compress> <duration>99999</duration> <agent-caching>true</agent-caching> <cache-key-pattern>*.jpeg</cache-key-pattern>

Continue reading

How ADF client authentication can be defined or set in the web.xml

<security-constraint> <web-resource-collection> <web-resource-name>allPages</web-resource-name> <url-pattern>/*</url-pattern> </web-resource-collection> <auth-constraint> <role-name>valid-users</role-name> </auth-constraint> </security-constraint> <security-constraint> <web-resource-collection> <web-resource-name>adfAuthentication</web-resource-name> <url-pattern>/adfAuthentication</url-pattern> </web-resource-collection> <auth-constraint> <role-name>valid-users</role-name> </auth-constraint> </security-constraint> <login-config> <auth-method>CLIENT-CERT</auth-method>

Continue reading