public static PermissionPolicy getPermissionPolicy() {
        try {
            return PermissionPolicy.valueOf(JiveGlobals.getProperty("xmpp.component.permission",
                    PermissionPolicy.blacklist.toString()));
        }
        catch (Exception e) {
            Log.error(e.getMessage(), e);
            return PermissionPolicy.blacklist;
        }
    }
Returns the permission policy being used for new XMPP entities that are trying to
connect to the server. There are two types of policies: 1) blacklist: where any entity
is allowed to connect to the server except for those listed in the black list and
2) whitelist: where only the entities listed in the white list are allowed to connect to
the server.

@return the permission policy being used for new XMPP entities that are trying to
        connect to the server.
xmppserver/src/main/java/org/jivesoftware/openfire/component/ExternalComponentManager.java