public static void deleteConfiguration(String subdomain) throws ModificationNotAllowedException {
        // Alert listeners about this event
        for (ExternalComponentManagerListener listener : listeners) {
            try {
                listener.componentConfigurationDeleted(subdomain);
            } catch (Exception e) {
                Log.warn("An exception occurred while dispatching a 'componentConfigurationDeleted' event!", e);
            }
        }

        // Proceed to delete the configuration of the component
        deleteConfigurationFromDB(getConfiguration(subdomain, false));
    }
Removes any existing defined permission and configuration for the specified
external component.

@param subdomain the subdomain of the external component.
@throws ModificationNotAllowedException if the operation was denied.
xmppserver/src/main/java/org/jivesoftware/openfire/component/ExternalComponentManager.java