public final class LicenseManagerProperties extends Object
LicenseManager. Read the
documentation for each property below.| Modifier and Type | Method and Description |
|---|---|
static void |
setCacheTimeInMinutes(int cacheTimeInMinutes)
Sets the length of time in minutes to cache license information (for performance reasons, anything less than 1
minute results in a 10-second cache life; the cache cannot be disabled completely).
|
static void |
setLicensePasswordProvider(PasswordProvider licensePasswordProvider)
Sets the provider of the password for the persisted license data.
|
static void |
setLicenseProvider(LicenseProvider licenseProvider)
Sets the provider of the persisted license data.
|
static void |
setLicenseValidator(LicenseValidator licenseValidator)
Sets the validator implementation that validates all licenses; if null, licenses are assumed to always be valid.
|
static void |
setPublicKeyDataProvider(PublicKeyDataProvider publicKeyDataProvider)
Sets the provider of the data for the public key companion to the private key used to sign the license
object.
|
static void |
setPublicKeyPasswordProvider(PasswordProvider publicKeyPasswordProvider)
Sets the provider of the password for decrypting the public key.
|
public static void setPublicKeyDataProvider(PublicKeyDataProvider publicKeyDataProvider)
publicKeyDataProvider - The provider of the data for the public key companion to the private key used to sign the license objectpublic static void setPublicKeyPasswordProvider(PasswordProvider publicKeyPasswordProvider)
publicKeyPasswordProvider - The provider of the password for decrypting the public keypublic static void setLicenseProvider(LicenseProvider licenseProvider)
licenseProvider - The provider of the persisted license datapublic static void setLicensePasswordProvider(PasswordProvider licensePasswordProvider)
publicKeyPasswordProvider will be used to decrypt
licenses.licensePasswordProvider - The provider of the password for decrypting license datapublic static void setLicenseValidator(LicenseValidator licenseValidator)
licenseValidator - The validator implementation that validates all licenses; if null, licenses are assumed to always be validpublic static void setCacheTimeInMinutes(int cacheTimeInMinutes)
cacheTimeInMinutes - The length of time in minutes to cache license informationCopyright © 2010-2013 NWTS Java Code. All Rights Reserved. Licensed Under the Apache License version 2.0.