public class EeLicenseValidatorWrapper extends Object implements org.mule.runtime.module.license.api.LicenseValidator, org.mule.runtime.api.lifecycle.Disposable
This class determines which license validator to use based on the presence and state of a feature flag.
| Modifier and Type | Field and Description |
|---|---|
static Supplier<Boolean> |
DISABLE_CERTIFICATE_CONNECTOR_LICENSE_VALIDATOR_ACTIVATOR |
static Supplier<Boolean> |
DUAL_LICENSE_VALIDATION_ACTIVATOR |
org.mule.runtime.module.license.api.LicenseValidator |
effectiveLicenseValidator
The effective license validator used for the actual license validation process.
|
static String |
FIPS_140_2_SECURITY_MODEL |
static String |
MULE_SECURITY_SYSTEM_PROPERTY |
| Constructor and Description |
|---|
EeLicenseValidatorWrapper()
Default constructor, used for discovering the class through SPI.
|
EeLicenseValidatorWrapper(org.mule.runtime.module.license.api.LicenseValidator effectiveLicenseValidator,
Supplier<Boolean> dualLicenseValidationActivator,
Supplier<Boolean> disableCertificateConnectorLicenseValidatorActivator)
Constructor that allows specifying the effective license validator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Disposes of the effective license validator if it implements the
Disposable interface. |
void |
validatePluginLicense(org.mule.runtime.module.license.api.PluginLicenseValidationRequest pluginLicenseValidationRequest)
Validates the plugin license using the effective license validator.
|
public static final String MULE_SECURITY_SYSTEM_PROPERTY
public static final String FIPS_140_2_SECURITY_MODEL
public static final Supplier<Boolean> DISABLE_CERTIFICATE_CONNECTOR_LICENSE_VALIDATOR_ACTIVATOR
public final org.mule.runtime.module.license.api.LicenseValidator effectiveLicenseValidator
public EeLicenseValidatorWrapper()
public EeLicenseValidatorWrapper(org.mule.runtime.module.license.api.LicenseValidator effectiveLicenseValidator,
Supplier<Boolean> dualLicenseValidationActivator,
Supplier<Boolean> disableCertificateConnectorLicenseValidatorActivator)
effectiveLicenseValidator - the license validator to be usedpublic void validatePluginLicense(org.mule.runtime.module.license.api.PluginLicenseValidationRequest pluginLicenseValidationRequest)
validatePluginLicense in interface org.mule.runtime.module.license.api.LicenseValidatorpluginLicenseValidationRequest - the plugin license validation requestpublic void dispose()
Disposable interface.dispose in interface org.mule.runtime.api.lifecycle.DisposableCopyright © 2006–2025 MuleSoft, Inc.. All rights reserved.