public interface LicenseManagementContext extends CachePeriodProvider, ClassLoaderProvider, Clock, CodecProvider, CompressionProvider, LicenseAuthorizationProvider, LicenseInitializationProvider, LicenseProvider, LicenseSubjectProvider, LicenseValidationProvider, PasswordPolicyProvider, RepositoryProvider
Applications have no need to implement this interface and should not do so because it may be subject to expansion in future versions.
| Modifier and Type | Method and Description |
|---|---|
Authentication |
authentication(KeyStoreParameters parameters)
Returns an authentication for the given key store parameters.
|
LicenseConsumerContext |
consumer()
Returns a context for license consumer applications.
|
Encryption |
encryption(PbeParameters parameters)
Returns an encryption for the given PBE parameters.
|
License |
license()
Returns a new license.
|
String |
pbeAlgorithm()
Returns the name of the default Password Based Encryption (PBE)
algorithm for the license key format.
|
String |
storeType()
Returns the name of the default key store type,
for example
"JCEKS" or "JKS". |
LicenseVendorContext |
vendor()
Returns a context for license vendor applications alias license key
generators.
|
cachePeriodMillisclassLoadercodeccompressionauthorizationinitializationsubjectvalidationpolicyrepositoryAuthentication authentication(KeyStoreParameters parameters)
parameters - the key store parameters.LicenseConsumerContext consumer()
Encryption encryption(PbeParameters parameters)
parameters - the PBE parameters.License license()
license in interface LicenseProviderString pbeAlgorithm()
String storeType()
"JCEKS" or "JKS".
You can override this default value when configuring the key store based
authentication with the license vendor context or the license consumer
context.LicenseVendorContext.keyStore(net.java.truelicense.core.io.Source, java.lang.String, net.java.truelicense.obfuscate.ObfuscatedString, java.lang.String, net.java.truelicense.obfuscate.ObfuscatedString),
LicenseConsumerContext.keyStore(net.java.truelicense.core.io.Source, java.lang.String, net.java.truelicense.obfuscate.ObfuscatedString, java.lang.String),
LicenseConsumerContext.ftpKeyStore(net.java.truelicense.core.io.Source, java.lang.String, net.java.truelicense.obfuscate.ObfuscatedString, java.lang.String, net.java.truelicense.obfuscate.ObfuscatedString),
LicenseApplicationContext.KsbaInjection.storeType(java.lang.String)LicenseVendorContext vendor()
Copyright © 2005–2017 Schlichtherle IT Services. All rights reserved.