步驟 6.為標籤屬性指定屬性處理程式 - 必需
在 <customizationRootDirectory>/configurations/xconf/custom.site.xconf 檔案中,將每個安全性標籤新增至下列內容,如下所示:
<Property name="wt.services/svc/default/com.ptc.core.command.server.delegate.io.AbstractAttributeHandler/<SECURITY_LABEL>/wt.access.SecurityLabeled/0" value="com.ptc.core.command.server.delegate.io.SecurityLabelAttributeHandler/singleton" targetFile="codebase/com/ptc/core/foundation/FoundationAttributeHandler.properties"/>
其中 <SECURITY_LABEL> 是步驟 1 中所指定之安全性標籤的內部名稱。
例如:
<Property name="wt.services/svc/default/com.ptc.core.command.server.delegate.io.AbstractAttributeHandler/CORPORATE_PROPREITORY/wt.access.SecurityLabeled/0" value="com.ptc.core.command.server.delegate.io.SecurityLabelAttributeHandler/singleton" targetFile="codebase/com/ptc/core/foundation/FoundationAttributeHandler.properties"/>