@Override
        public String toString() {
            StringBuilder stringBuilder = new StringBuilder(entryName).append(" {\n\t")
                    .append(loginModule).append("  ").append(loginModuleFlag).append("\n\t");
            String[] keys = loginModuleOptions.keySet().toArray(new String[loginModuleOptions.size()]);
            for (int i = 0; i < keys.length; i++) {
                stringBuilder.append(keys[i]).append("=").append(loginModuleOptions.get(keys[i]));
                if (i != keys.length - 1) {
                    stringBuilder.append("\n\t");
                } else {
                    stringBuilder.append(";\n");
                }

            }
            stringBuilder.append("\n").append("};");
            return stringBuilder.toString();
        }
Utility methods for helping with security tasks.
Date: 2019/12/28
Company: www.dtstack.com
@author maqi
core/src/main/java/com/dtstack/flink/sql/util/AuthUtil.java