// get the maximum set of deployment permissions.
final List<PermissionFactory> maximumSet = this.retrievePermissionSet(context,
this.peek(node, DEPLOYMENT_PERMISSIONS, DEFAULT_VALUE, MAXIMUM_SET, DEFAULT_VALUE));
if (maximumSet.isEmpty())
maximumSet.add(new ImmediatePermissionFactory(new AllPermission()));
// TODO validate the permission sets: the minimum-set must be implied by the maximum-set.
// install the WildFly security manager service.
controlers.add(context.getServiceTarget().addService(SecurityManagerService.SERVICE_NAME, new SecurityManagerService())