步驟 5.將安全性標籤新增至 RuleConfigurableTypeAttribute.properties - 選用
如果您的網站要針對多個安全性標籤的其中一個使用物件初始化規則,請將每個安全性標籤都新增到 RuleConfigurableTypeAttribute.properties 檔案中,以便能夠為安全性標籤建立物件初始化規則。
在 <customizationRootDirectory>/configurations/xconf/custom.site.xconf 檔案中設定下列內容以指定自訂檔案位置:
<Property name="wt.access.SecurityLabeled" value="<SECURITY_LABEL1>, <SECURITY_LABEL2>" targetFile="codebase/com/ptc/core/rule/server/delegate/init/RuleConfigurableTypeAttribute.properties"/>
例如:
<Property name="wt.access.SecurityLabeled" value="EXPORT_CONTROL, CORPORATE_PROPREITORY" targetFile="codebase/com/ptc/core/rule/server/delegate/init/RuleConfigurableTypeAttribute.properties"/>
您可以在此組態稍後介紹的內容中找到為安全性標籤定義物件初始化規則的指示。