KerbClient client = new KerbClient(
port,
address,
clientCertificate,
serverCertificate,
password,
autoReconnect,
reconnectCooldown,
maxReconnectionAttempts
);
client.connect();
KerbClientFactory factory = new KerbClientFactory(
port,
address,
clientCertificate,
serverCertificate,
password,
autoReconnect,
reconnectCooldown,
maxReconnectionAttempts
);
KerbClient client = factory.create();
client.connect();