| Package | Description |
|---|---|
| net.java.truelicense.core |
Provides life cycle management for license keys.
|
| net.java.truelicense.core.auth |
Provides authentication services.
|
| net.java.truelicense.core.codec |
Provides object graph encoding/decoding services (alias serialization).
|
| net.java.truelicense.core.io |
Provides I/O services.
|
| Modifier and Type | Method and Description |
|---|---|
Source |
LicenseApplicationContext.resource(String name)
Returns a source which loads the resource with the given
name. |
| Modifier and Type | Method and Description |
|---|---|
Authentication |
LicenseConsumerContext.ftpKeyStore(Source source,
String storeType,
ObfuscatedString storePassword,
String alias,
ObfuscatedString keyPassword)
Deprecated.
since TrueLicense 2.5.0.
This method will be removed from the public API in
TrueLicense 3.0.0.
|
License |
LicenseConsumerManager.install(Source source)
Installs the license key from the given source and returns an
unvalidated duplicate of its encoded license bean.
|
Authentication |
LicenseConsumerContext.keyStore(Source source,
String storeType,
ObfuscatedString storePassword,
String alias)
Deprecated.
since TrueLicense 2.5.0.
This method will be removed from the public API in
TrueLicense 3.0.0.
|
Authentication |
LicenseVendorContext.keyStore(Source source,
String storeType,
ObfuscatedString storePassword,
String alias,
ObfuscatedString keyPassword)
Configures a key store based authentication.
|
LicenseApplicationContext.KsbaInjection<Target> |
LicenseApplicationContext.KsbaInjection.loadFrom(Source source)
Sets the source for the key store.
|
| Modifier and Type | Method and Description |
|---|---|
Source |
KeyStoreParameters.source()
Returns the nullable input source for the key store.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
XmlCodec.decode(Source source,
Type expected) |
<T> T |
SerializationCodec.decode(Source source,
Type expected) |
<T> T |
JaxbCodec.decode(Source source,
Type expected) |
<T> T |
Codec.decode(Source source,
Type expected)
Decodes a nullable object graph from the given source.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Store
An abstraction for storing data.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FileStore
A file store.
|
class |
MemoryStore
A (heap) memory store.
|
class |
PreferencesStore
A preferences (node) store.
|
| Modifier and Type | Method and Description |
|---|---|
static Source |
Sources.forResource(String name,
Class<?> clazz)
Returns a source which loads the resource with the given
name. |
static Source |
Sources.forResource(String name,
ClassLoader loader)
Returns a source which loads the resource with the given
name. |
static Source |
Sources.input()
Returns a source which reads from standard input without ever closing it.
|
Source |
SourceProvider.source()
Returns the source.
|
Source |
Transformation.unapply(Source source)
Returns a source which decorates the input streams provided by the given
source.
|
static Source |
Sources.uncloseable(InputStream in)
Returns a source which reads from the given input stream and ignores any
call to the
InputStream.close() method of the input stream. |
| Modifier and Type | Method and Description |
|---|---|
static void |
Copy.copy(Source source,
Sink sink) |
Source |
Transformation.unapply(Source source)
Returns a source which decorates the input streams provided by the given
source.
|
Copyright © 2005–2017 Schlichtherle IT Services. All rights reserved.