@Override
    public void handlerPlugin(final PluginData pluginData) {
        Map<String, String> configMap = GsonUtils.getInstance().toObjectMap(pluginData.getConfig(), String.class);
        String defaultHandleJson = Optional.ofNullable(configMap.get(Constants.DEFAULT_HANDLE_JSON)).orElse("");
        BasicAuthConfig basicAuthConfig = new BasicAuthConfig();
        basicAuthConfig.setDefaultHandleJson(defaultHandleJson);
        Singleton.INST.single(BasicAuthConfig.class, basicAuthConfig);
    }
Configuration data of the basic auth plugin.
shenyu-plugin/shenyu-plugin-security/shenyu-plugin-basic-auth/src/main/java/org/apache/shenyu/plugin/basic/auth/handle/BasicAuthPluginDataHandler.java