public class ProviderLicense extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONNECTOR_NAME_KEY |
static String |
CONTACT_EMAIL_KEY |
static String |
CONTACT_MESSAGE_KEY |
| Constructor and Description |
|---|
ProviderLicense(String providerName,
String pluginName,
ClassLoader pluginClassLoader,
Key muleDecryptionKey)
Creates a
ProviderLicense instance. |
| Modifier and Type | Method and Description |
|---|---|
String |
getContactMessage() |
String |
getEmail() |
String |
getExpectedLicenseName() |
PublicKey |
getKey() |
Optional<String> |
getProperty(String propertyName)
Retrieves a property from the provider license.
|
String |
getProviderName() |
public static final String CONTACT_EMAIL_KEY
public static final String CONTACT_MESSAGE_KEY
public static final String CONNECTOR_NAME_KEY
public ProviderLicense(String providerName, String pluginName, ClassLoader pluginClassLoader, Key muleDecryptionKey) throws InvalidKeyException
ProviderLicense instance.providerName - the name of the provider of the license.pluginName - the plugin name for which the license was created.pluginClassLoader - the plugin artifact classloader used to load the plugin license key.muleDecryptionKey - the runtime public key to validate the plugin vendor license key.InvalidKeyException - if the provider license key is invalid.public PublicKey getKey()
public String getExpectedLicenseName()
public String getEmail()
public String getContactMessage()
public String getProviderName()
Copyright © 2006–2022 MuleSoft, Inc.. All rights reserved.