This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch camel-3.14.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-3.14.x by this push:
     new ff1516c5fb6 CAMEL-18636 - azure data lake component: authentication 
can not be configured using string properties - Do not validate the 
configuration in component
ff1516c5fb6 is described below

commit ff1516c5fb67fd7e5a0b0c4d86d0edbac00bc9aa
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed Mar 15 11:38:35 2023 +0100

    CAMEL-18636 - azure data lake component: authentication can not be 
configured using string properties - Do not validate the configuration in 
component
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 .../camel/component/azure/storage/datalake/DataLakeComponent.java | 8 --------
 1 file changed, 8 deletions(-)

diff --git 
a/components/camel-azure/camel-azure-storage-datalake/src/main/java/org/apache/camel/component/azure/storage/datalake/DataLakeComponent.java
 
b/components/camel-azure/camel-azure-storage-datalake/src/main/java/org/apache/camel/component/azure/storage/datalake/DataLakeComponent.java
index 737619e131e..dfd065bb311 100644
--- 
a/components/camel-azure/camel-azure-storage-datalake/src/main/java/org/apache/camel/component/azure/storage/datalake/DataLakeComponent.java
+++ 
b/components/camel-azure/camel-azure-storage-datalake/src/main/java/org/apache/camel/component/azure/storage/datalake/DataLakeComponent.java
@@ -71,7 +71,6 @@ public class DataLakeComponent extends DefaultComponent {
         setProperties(endpoint, parameters);
 
         setCredentialsFromRegistry(configuration);
-        validateConfiguration(configuration);
 
         return endpoint;
     }
@@ -102,11 +101,4 @@ public class DataLakeComponent extends DefaultComponent {
         }
     }
 
-    private void validateConfiguration(final DataLakeConfiguration config) {
-        if (config.getServiceClient() == null && 
config.getClientSecretCredential() == null
-                && config.getSharedKeyCredential() == null) {
-            throw new IllegalArgumentException("client or credentials must be 
specified");
-        }
-    }
-
 }

Reply via email to