/** * Build the security diagnostics string * @return a string for diagnostics */ protected String buildSecurityDiagnostics() { // build up the security connection diags if (!isSecure()) { return "security disabled"; } else { StringBuilder builder = new StringBuilder(); builder.append("secure cluster; "); builder.append(registrySecurity.buildSecurityDiagnostics()); return builder.toString(); } }
/** * Build the security diagnostics string. * * @return a string for diagnostics */ protected String buildSecurityDiagnostics() { // build up the security connection diags if (!isSecure()) { return "security disabled"; } else { StringBuilder builder = new StringBuilder(); builder.append("secure cluster; "); builder.append(registrySecurity.buildSecurityDiagnostics()); return builder.toString(); } }