Step 9. Specify Attribute Handler for Label Attribute - Required
Add each security label to the FoundationAttributeHandler.properties file to specify the attribute handler to use for the label attribute.
From within a windchill shell, run the following command for each security label:
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
where <SECURITY_LABEL> is the security label name as specified in the securityLabelsConfiguration.xml file.
For example, the following commands would be individually run for the example configuration:
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
Было ли это полезно?