The location of the portal-ext.properties and AMConfig.properties files that you should modify varies depending on whether you are performing the modifications before or after the OpenSSO Add-On has been installed.
Before installing the OpenSSO Add-On
Before installation of the OpenSSO Add-On, the portal-ext.properties and AMConfig.properties files you need to modify are located in the glassfish_dir/webspace/opensso/templates directory.
When you first download the OpenSSO Add-On, there are two sample versions of these two files, named portal-ext.properties.template and AMConfig.properties.template. It is strongly recommended that you make copies of these template files and then only make modifications to the copies. After modifying the copies, make sure that the copies are named portal-ext.properties and AMConfig.properties (no .template extension) before proceeding with the OpenSSO Add-On installation.
After installing the OpenSSO Add-On
After the OpenSSO Add-On has been installed, any additional customizations you want to make must only be made to the portal-ext.properties and AMConfig.properties files that are located in the webspace_dir/var/webspace/war-workspace/customs/webspace/WEB-INF/classes directory.