public static class Safeguard.Event extends Object
| Constructor and Description |
|---|
Event() |
| Modifier and Type | Method and Description |
|---|---|
static ISafeguardEventListener |
getPersistentEventListener(String networkAddress,
String certificatePath,
char[] certificatePassword,
Integer apiVersion,
Boolean ignoreSsl)
Get a persistent event listener using a client certificate stored in
a file.
|
static ISafeguardEventListener |
getPersistentEventListener(String networkAddress,
String keystorePath,
char[] keystorePassword,
String certificateAlias,
Integer apiVersion,
Boolean ignoreSsl)
Get a persistent event listener using a client certificate from the
certificate keystore for authentication.
|
static ISafeguardEventListener |
getPersistentEventListener(String networkAddress,
String provider,
String username,
char[] password,
Integer apiVersion,
Boolean ignoreSsl)
Get a persistent event listener using a username and password
credential for authentication.
|
public static ISafeguardEventListener getPersistentEventListener(String networkAddress, String provider, String username, char[] password, Integer apiVersion, Boolean ignoreSsl) throws ObjectDisposedException, SafeguardForJavaException, ArgumentException
networkAddress - Network address of Safeguard appliance.provider - Safeguard authentication provider name (e.g. local).username - User name to use for authentication.password - User password to use for authentication.apiVersion - Target API version to use.ignoreSsl - Ignore server certificate validation.ObjectDisposedException - Object has already been disposed.SafeguardForJavaException - General Safeguard for JavaArgumentException - Invalid argument.
exception.public static ISafeguardEventListener getPersistentEventListener(String networkAddress, String certificatePath, char[] certificatePassword, Integer apiVersion, Boolean ignoreSsl) throws ObjectDisposedException, SafeguardForJavaException
networkAddress - Network address of Safeguard appliance.certificatePath - Path to PFX (or PKCS12) certificate file also
containing private key.certificatePassword - Password to decrypt the certificate file.apiVersion - Target API version to use.ignoreSsl - Ignore server certificate validation.ObjectDisposedException - Object has already been disposed.SafeguardForJavaException - General Safeguard for Java
exception.public static ISafeguardEventListener getPersistentEventListener(String networkAddress, String keystorePath, char[] keystorePassword, String certificateAlias, Integer apiVersion, Boolean ignoreSsl) throws ObjectDisposedException, SafeguardForJavaException
networkAddress - Network address of Safeguard appliance.keystorePath - Path to the keystore containing the client certificate.keystorePassword - Keystore password.certificateAlias - Alias identifying a client certificate in the keystore.apiVersion - Target API version to use.ignoreSsl - Ignore server certificate validation.ObjectDisposedException - Object has already been disposed.SafeguardForJavaException - General Safeguard for Java exception.Copyright © 2019. All rights reserved.