Class AtlassianJwtFetcherFactory
java.lang.Object
org.apache.tika.pipes.fetcher.atlassianjwt.AtlassianJwtFetcherFactory
- All Implemented Interfaces:
FetcherFactory,TikaExtensionFactory<Fetcher>,org.pf4j.ExtensionPoint
Factory for creating Atlassian JWT fetchers.
Example JSON configuration:
"fetchers": {
"atlassian-jwt-fetcher": {
"my-atlassian-fetcher": {
"sharedSecret": "your-shared-secret",
"issuer": "your-app-key",
"connectTimeoutMillis": 30000,
"socketTimeoutMillis": 120000
}
}
}
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AtlassianJwtFetcherFactory
public AtlassianJwtFetcherFactory()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceTikaExtensionFactory<Fetcher>- Returns:
- name of the extension in the config file
-
buildExtension
public Fetcher buildExtension(ExtensionConfig extensionConfig) throws IOException, TikaConfigException - Specified by:
buildExtensionin interfaceTikaExtensionFactory<Fetcher>- Throws:
IOExceptionTikaConfigException
-