public abstract class JnlpClientDatabase extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JnlpClientDatabase.ValidationResult
The types of certificate validation results.
|
| Constructor and Description |
|---|
JnlpClientDatabase() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
exists(String clientName)
Check if the supplied client name exists.
|
abstract String |
getSecretOf(String clientName)
Gets the secret for the supplied client name.
|
JnlpClientDatabase.ValidationResult |
validateCertificate(String clientName,
X509Certificate certificate)
Performs client certificate validation.
|
public abstract boolean exists(String clientName)
clientName - the client name.true if and only if the named client exists.public abstract String getSecretOf(@Nonnull String clientName)
clientName - the client name.null. Should not return null if exists(String) but this may occur
if there is a race between establishing a connection and the client being removed from the database.@Nonnull public JnlpClientDatabase.ValidationResult validateCertificate(@Nonnull String clientName, @Nonnull X509Certificate certificate)
clientName - the client name.certificate - the certificate.Copyright © 2004–2017. All rights reserved.