public class KerberosConnector extends SSHConnector implements Connector
ATTRIBUTES, BUILDER, CONFIGURATION, CONNECTION, FILTER, GROOVY, HANDLER, ID, LOGGER, OBJECT_CLASS, OPERATION, OPTIONS, PASSWORD, QUERY, SCHEMA, TOKEN, UID, USERNAME| Constructor and Description |
|---|
KerberosConnector() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkAlive()
Checks if the connector is still alive.
|
void |
dispose()
Disposes of
SSHConnector's resources. |
protected Object |
evaluateScript(String scriptName,
groovy.lang.Binding arguments,
groovy.lang.Closure<Object> scriptEvaluator) |
void |
init(Configuration config)
Callback method to receive the
Configuration. |
addAttributeValues, authenticate, create, createBinding, createFilterTranslator, delete, executeAddAttributeValues, executeAuthenticate, executeCreate, executeDelete, executeGetLatestSyncToken, executeQuery, executeQuery, executeRemoveAttributeValues, executeResolveUsername, executeRunScriptOnResource, executeSchema, executeSync, executeTest, executeUpdate, genericUpdate, getConfiguration, getLatestSyncToken, getMetaClass, getProperty, getScriptedConfiguration, getScriptEvaluator, invokeMethod, removeAttributeValues, resolveUsername, returnUid, runScriptOnConnector, runScriptOnResource, schema, setMetaClass, setProperty, sync, test, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigurationpublic void init(Configuration config)
SSHConnectorConfiguration.init in interface Connectorinit in class SSHConnectorconfig - the new Configurationpublic void checkAlive()
PoolableConnectorA connector can spend a large amount of time in the pool before being used. This method is intended to check if the connector is alive and operations can be invoked on it (for instance, an implementation would check that the connector's physical connection to the resource has not timed out).
The major difference between this method and TestOp.test() is
that this method must do only the minimum that is necessary to check that
the connector is still alive. TestOp.test() does a more
thorough check of the environment specified in the Configuration, and can
therefore be much slower.
This method can be called often. Implementations should do their best to keep this method fast.
checkAlive in interface PoolableConnectorcheckAlive in class SSHConnectorpublic void dispose()
SSHConnectorSSHConnector's resources.
dispose in interface Connectordispose in class SSHConnectorprotected Object evaluateScript(String scriptName, groovy.lang.Binding arguments, groovy.lang.Closure<Object> scriptEvaluator) throws Exception
evaluateScript in class SSHConnectorarguments - The Groovy bindings.ExceptionCopyright © 2018–2025. All rights reserved.