// add security management service
ModelNode modelNode = model.get(Constants.DEEP_COPY_SUBJECT_MODE);
final SecurityManagementService securityManagementService = new SecurityManagementService(
AUTHENTICATION_MANAGER, modelNode.isDefined() && modelNode.asBoolean(), CALLBACK_HANDLER,
AUTHORIZATION_MANAGER, AUDIT_MANAGER, IDENTITY_TRUST_MANAGER, MAPPING_MANAGER);
newControllers.add(target.addService(SecurityManagementService.SERVICE_NAME, securityManagementService)
.addDependency(Services.JBOSS_SERVICE_MODULE_LOADER, ServiceModuleLoader.class, securityManagementService.getServiceModuleLoaderInjectedValue())
.addListener(verificationHandler)
.setInitialMode(ServiceController.Mode.ACTIVE).install());
// add subject factory service