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 byFinalizeConnectorHandler. Should be used to check if access to specific external sources can be established.Default implementation of this validator calls the
PUBLIC.VALIDATE_SOURCEprocedure.Additional SQL grants (e.g. to the external access integration) may be needed before source validation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectorResponsevalidate(Variant configuration)Validates the access to specific external sources.
-
-
-
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
OKif the validation was successful, otherwise a response with an error code and an error message
-
-