public final class Safeguard extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Safeguard.A2A
This static class provides access to Safeguard A2A functionality.
|
static class |
Safeguard.Event
This static class provides access to Safeguard Event functionality with
persistent event listeners.
|
| Modifier and Type | Method and Description |
|---|---|
static ISafeguardConnection |
connect(String networkAddress,
char[] accessToken,
Integer apiVersion,
Boolean ignoreSsl)
Connect to Safeguard API using an API access token.
|
static ISafeguardConnection |
connect(String networkAddress,
Integer apiVersion,
Boolean ignoreSsl)
Connect to Safeguard API anonymously.
|
static ISafeguardConnection |
connect(String networkAddress,
String certificatePath,
char[] certificatePassword,
Integer apiVersion,
Boolean ignoreSsl)
Connect to Safeguard API using a certificate stored in a file.
|
static ISafeguardConnection |
connect(String networkAddress,
String keystorePath,
char[] keystorePassword,
String certificateAlias,
Integer apiVersion,
Boolean ignoreSsl)
Connect to Safeguard API using a certificate from the keystore.
|
static ISafeguardConnection |
connect(String networkAddress,
String provider,
String username,
char[] password,
Integer apiVersion,
Boolean ignoreSsl)
Connect to Safeguard API using a user name and password.
|
public static ISafeguardConnection connect(String networkAddress, char[] accessToken, Integer apiVersion, Boolean ignoreSsl) throws ArgumentException
networkAddress - Network address of Safeguard appliance.accessToken - Existing API access token.apiVersion - Target API version to use.ignoreSsl - Ignore server certificate validation.ArgumentException - Invalid argument.public static ISafeguardConnection connect(String networkAddress, String provider, String username, char[] password, Integer apiVersion, Boolean ignoreSsl) throws ObjectDisposedException, ArgumentException, SafeguardForJavaException
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.ArgumentException - Invalid argument.SafeguardForJavaException - General Safeguard for Java exception.public static ISafeguardConnection connect(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.public static ISafeguardConnection connect(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 ISafeguardConnection connect(String networkAddress, Integer apiVersion, Boolean ignoreSsl)
networkAddress - Network address.apiVersion - API version.ignoreSsl - If set to true ignore ssl.Copyright © 2019. All rights reserved.