Class GoogleApiKeyDetector
- java.lang.Object
-
- com.h3xstream.findsecbugs.password.GoogleApiKeyDetector
-
- All Implemented Interfaces:
edu.umd.cs.findbugs.Detector,edu.umd.cs.findbugs.Priorities
public class GoogleApiKeyDetector extends Object implements edu.umd.cs.findbugs.Detector
GoogleApi provide code sample to sign URL using provided API key. The management of the key is left to the developer. Developers might simply copy-paste sample of code without loading the key from a configuration file.If too much false positive are rise, the signature will be more precise. The assumption is that the code was copy and left unchanged except the key.
Ref: http://gmaps-samples.googlecode.com/svn/trunk/urlsigning/UrlSigner.java
-
-
Constructor Summary
Constructors Constructor Description GoogleApiKeyDetector(edu.umd.cs.findbugs.BugReporter bugReporter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreport()voidvisitClassContext(edu.umd.cs.findbugs.ba.ClassContext classContext)
-