public class WeakTrustManagerDetector extends Object implements edu.umd.cs.findbugs.Detector
The first reflex for developer that encounter web services that have unsigned certificate is often to trust all certificates.
To trust everything, the standard API for SSL communication requires the implementation of a child interface of "javax.net.ssl.TrustManager" (marker interface). Commonly, X509TrustManager is being used.
Sample of code being usedTrustManager,
X509TrustManager| Constructor and Description |
|---|
WeakTrustManagerDetector(edu.umd.cs.findbugs.BugReporter bugReporter) |
| Modifier and Type | Method and Description |
|---|---|
void |
report() |
void |
visitClassContext(edu.umd.cs.findbugs.ba.ClassContext classContext) |
Copyright © 2017. All rights reserved.