security: In ConfigPolicyManager, implement addDirectory.