public static void allowAccess(RemoteServerConfiguration configuration) {
        // Remove any previous configuration for this remote server
        deleteConfiguration(configuration.getDomain());
        // Update the database with the new granted permission and configuration
        configuration.setPermission(Permission.allowed);
        addConfiguration(configuration);
    }
Allows a remote server to connect to the local server with the specified configuration.

@param configuration the configuration for the remote server.
xmppserver/src/main/java/org/jivesoftware/openfire/server/RemoteServerManager.java