public class DefaultBundleRefreshProcessorImpl extends Object implements BundleRefreshProcessor
The implementation allows for bundles to be downloaded from SSL protected sites that may not
chain back to a trust CA. This is useful in developement environments and is not recommended in
a production environment. By default, this feature is disable, but can be enabled using the
BUNDLE_REFRESH_PROCESSOR_ALLOW_DOWNLOAD_FROM_UNTRUSTED options parameter.
| Modifier and Type | Field and Description |
|---|---|
static String |
BUNDLE_REFRESH_PROCESSOR_ALLOW_DOWNLOAD_FROM_UNTRUSTED
Boolean value that specifies if bundles can be downloaded from non verified or untrusted SSL URLs.
|
| Constructor and Description |
|---|
DefaultBundleRefreshProcessorImpl()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
initJVMParams()
Initializes system preferences using the Direct
OptionsManager pattern. |
reactor.core.publisher.Mono<?> |
refreshBundle(org.nhindirect.config.store.TrustBundle bundle)
Refreshes the set of anchors within a bundle.
|
void |
setRepositories(org.nhindirect.config.repository.TrustBundleRepository bundleRepo,
org.nhindirect.config.repository.TrustBundleAnchorRepository bundleAnchorRepo)
Sets the trust bundle repositories for updating the bundle storage medium.
|
void |
setRepository(org.nhindirect.config.repository.TrustBundleRepository bundleRepo)
Deprecated.
|
public static final String BUNDLE_REFRESH_PROCESSOR_ALLOW_DOWNLOAD_FROM_UNTRUSTED
JVM Parameter/Options Name: org.nhindirect.config.processor.impl.bundlerefresh.AllowNonVerifiedSSL
public DefaultBundleRefreshProcessorImpl()
public static void initJVMParams()
OptionsManager pattern.public void setRepository(org.nhindirect.config.repository.TrustBundleRepository bundleRepo)
bundleRepo - The trust bundle repositorypublic void setRepositories(org.nhindirect.config.repository.TrustBundleRepository bundleRepo,
org.nhindirect.config.repository.TrustBundleAnchorRepository bundleAnchorRepo)
bundleRepo - The trust bundle repositorybundleAnchorRepo - The trust bundle anchor repositorypublic reactor.core.publisher.Mono<?> refreshBundle(org.nhindirect.config.store.TrustBundle bundle)
refreshBundle in interface BundleRefreshProcessorbundle - The bundle that will be updated.Copyright © 2021. All rights reserved.