--fix bug 5106508: on cmpwbuser, the property: RUNTIMEREPOS_PWD_SHARE need to be also propagate to run time by using: wb_rt_user_value_admin.set_mode(?),for this special case(see SecurityModuleImpl.setBooleanSecParamValue for detail), the only way we can do is at the end of installation, call run time stuff and set the value to the design time default value create or replace function getEnterpriseMode return number is classid number; propid number; usageid number; val varchar2(4000); enterpriseMode number; begin select elementid into classid from classdefinition_v where name='oracle.wh.repos.impl.security.CMPWBUser'; select elementid into propid from propertydefinition_v where name='RUNTIMEREPOS_PWD_SHARE' and classdefinition=classid; select elementid into usageid from propertyusagedefinition_v where propertydefinition=propid; select value into val from wbprimitiveproperty_v where owner=usageid and name='DefaultValue'; if(upper(val)='TRUE') then enterpriseMode := 0; --not share if enterprise mode since more sec is needed else enterpriseMode :=1; end if; return enterpriseMode; end; / update wb_rt_platform_config set enterprise_mode = (select getEnterpriseMode() from dual); --wb_rt_user_value_admin.set_mode(select getEnterpriseMode() from dual); commit;