@Override
    public void handlerRule(final RuleData ruleData) {
        BasicAuthConfig basicAuthConfig = Singleton.INST.get(BasicAuthConfig.class);
        Optional.ofNullable(ruleData.getHandle()).ifPresent(ruleHandle -> {
            BasicAuthRuleHandle basicAuthRuleHandle = BasicAuthRuleHandle.newInstance(StringUtils.defaultString(ruleHandle, basicAuthConfig.getDefaultHandleJson()));
            CACHED_HANDLE.get().cachedHandle(CacheKeyUtils.INST.getKey(ruleData), basicAuthRuleHandle);
        });
    }
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