public class DefaultBundleRefreshProcessorImpl extends java.lang.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 invironment. 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 java.lang.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. |
void |
refreshBundle(org.nhindirect.config.store.TrustBundle bundle)
Refreshes the set of anchors within a bundle.
|
void |
setRepository(org.nhindirect.config.repository.TrustBundleRepository bundleRepo)
Sets the trust bundle repository for updating the bundle storage medium.
|
public static final java.lang.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 repository@Handler public void refreshBundle(org.nhindirect.config.store.TrustBundle bundle)
refreshBundle in interface BundleRefreshProcessorbundle - The bundle that will be updated.Copyright © 2019. All Rights Reserved.