Interface SourceValidator

  • 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 SourceValidator
    A validator for the connection to the external service, used by FinalizeConnectorHandler. Should be used to check if access to specific external sources can be established.

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

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

    • Method Detail

      • validate

        ConnectorResponse validate​(Variant configuration)
        Validates the access to specific external sources.
        Parameters:
        configuration - custom configuration provided to the handler
        Returns:
        a response with the code OK if the validation was successful, otherwise a response with an error code and an error message