public void setAllowCredentials(final boolean allowCredentials) {
            this.allowCredentials = allowCredentials;
        }
Sets the allowCredentials.

@param allowCredentials allowCredentials
shenyu-common/src/main/java/org/apache/shenyu/common/config/ShenyuConfig.java