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 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 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 |
setDao(org.nhindirect.config.store.dao.TrustBundleDao dao)
Sets the trust bundle DAO for updating the bundle storage medium.
|
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 setDao(org.nhindirect.config.store.dao.TrustBundleDao dao)
dao - The trust bundle DAOP@Handler public void refreshBundle(org.nhindirect.config.store.TrustBundle bundle)
refreshBundle in interface BundleRefreshProcessorbundle - The bundle that will be updated.Copyright © 2015. All Rights Reserved.