ilscipio/scipio-erp

View on GitHub
framework/base/src/org/ofbiz/base/util/TrustManagers.java

Summary

Maintainability
A
2 hrs
Test Coverage

Avoid deeply nested control flow statements.
Open

                            if (issuer.equals(c)) {
                                if (Debug.verboseOn())
                                    Debug.logInfo("--- Found trusted cert: " + issuer.getSerialNumber().toString(16) + " : " + issuer.getSubjectX500Principal(), module);
                                return true;
                            }
Severity: Major
Found in framework/base/src/org/ofbiz/base/util/TrustManagers.java - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                                    if (Debug.verboseOn())
                                        Debug.logInfo("Read certificate (chain) : " + ((X509Certificate) cert).getSubjectX500Principal().getName(), module);
    Severity: Major
    Found in framework/base/src/org/ofbiz/base/util/TrustManagers.java - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                                  if (Debug.verboseOn())
                                      Debug.logInfo("--- Checking cert: " + issuer.getSubjectX500Principal() + " vs " + c.getSubjectX500Principal(), module);
      Severity: Major
      Found in framework/base/src/org/ofbiz/base/util/TrustManagers.java - About 45 mins to fix

        There are no issues that match your filters.

        Category
        Status