Interface ConnectionValidator

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ConnectionValidator
    A validator for the connection configured during the ConnectionConfigurationHandler or UpdateConnectionConfigurationHandler execution. Should be used to check if any connection to the external service can be established.

    Default implementation of this validator calls the PUBLIC.TEST_CONNECTION procedure.

    Additional SQL grants (e.g. to the external access integration) may be needed before connection validation.

    • Method Detail

      • validate

        ConnectorResponse validate()
        Validates the connection configured during the handler execution.
        Returns:
        a response with the code OK if the validation was successful, otherwise a response with an error code and an error message