Class KeyFileApiKeyValidator
java.lang.Object
com.predic8.membrane.core.interceptor.swagger.KeyFileApiKeyValidator
- All Implemented Interfaces:
ApiKeyValidator
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
KeyFileApiKeyValidator
public KeyFileApiKeyValidator()
-
-
Method Details
-
getLocation
-
setLocation
- Description
- A file/resource containing one API key description per line. Lines starting with '#' are ignored. An API key description consists of the API key (string without spaces) followed by a space and possibly arbitrary characters (except newlines), for example a description. See here for a description of the format.
-
init
- Specified by:
initin interfaceApiKeyValidator- Throws:
Exception
-
isValid
- Specified by:
isValidin interfaceApiKeyValidator
-