步驟 9.為標籤屬性指定屬性處理程式 - 必需
將每個安全性標籤新增 FoundationAttributeHandler.properties 檔案以指定要用於標籤屬性的屬性處理程式。
從 windchill shell 中針對每個安全性標籤執行下列指令:
xconfmanager -s wt.services/svc/default/com.ptc.core.command.server.delegate.io.
AbstractAttributeHandler/<SECURITY_LABEL>/wt.access.SecurityLabeled/0=
com.ptc.core.command.server.delegate.io.SecurityLabelAttributeHandler/singleton
-t codebase/com/ptc/core/foundation/FoundationAttributeHandler.properties -p
,其中的 <SECURITY_LABEL> 是在 securityLabelsConfiguration.xml 檔案中所指定的安全性標籤名稱。
例如,針對範例組態,將會單獨執行下列指令:
xconfmanager -s wt.services/svc/default/com.ptc.core.command.server.delegate.io.
AbstractAttributeHandler/EXPORT_CONTROL/wt.access.SecurityLabeled/0=
com.ptc.core.command.server.delegate.io.SecurityLabelAttributeHandler/singleton
-t codebase/com/ptc/core/foundation/FoundationAttributeHandler.properties -p
xconfmanager -s wt.services/svc/default/com.ptc.core.command.server.delegate.
io.AbstractAttributeHandler/CORPORATE_PROPRIETARY/wt.access.
SecurityLabeled/0=com.ptc.core.command.server.delegate.io.
SecurityLabelAttributeHandler/singleton -t codebase/com/ptc/core/
foundation/FoundationAttributeHandler.properties -p
xconfmanager -s wt.services/svc/default/com.ptc.core.command.server.delegate.
io.AbstractAttributeHandler/LEGAL_INFORMATION/wt.access.SecurityLabeled/0=
com.ptc.core.command.server.delegate.io.SecurityLabelAttributeHandler/
singleton -t codebase/com/ptc/core/foundation/FoundationAttributeHandler.
properties -p
xconfmanager -s wt.services/svc/default/com.ptc.core.command.server.delegate.
io.AbstractAttributeHandler/THIRD_PARTY_PROPRIETARY/wt.access.
SecurityLabeled/0=com.ptc.core.command.server.delegate.io.
SecurityLabelAttributeHandler/singleton -t codebase/com/ptc/core/foundation/
FoundationAttributeHandler.properties -p