Skip to content

Commit 0e37378

Browse files
committed
Remove Azure authenticator because it is deprecated.
1 parent fd530a9 commit 0e37378

File tree

4 files changed

+0
-103
lines changed

4 files changed

+0
-103
lines changed

pom.xml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -140,19 +140,6 @@
140140
<artifactId>bcpkix-jdk18on</artifactId>
141141
<version>${bouncycastle.version}</version>
142142
</dependency>
143-
<dependency>
144-
<groupId>com.microsoft.azure</groupId>
145-
<artifactId>adal4j</artifactId>
146-
<version>1.6.7</version>
147-
<optional>true</optional>
148-
</dependency>
149-
<!-- override the version in adal4j which has a CVE -->
150-
<dependency>
151-
<groupId>net.minidev</groupId>
152-
<artifactId>json-smart</artifactId>
153-
<version>2.5.1</version>
154-
<optional>true</optional>
155-
</dependency>
156143
<dependency>
157144
<groupId>com.amazonaws</groupId>
158145
<artifactId>aws-java-sdk-sts</artifactId>

util/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@
5757
<groupId>org.bouncycastle</groupId>
5858
<artifactId>bcpkix-jdk18on</artifactId>
5959
</dependency>
60-
<dependency>
61-
<groupId>com.microsoft.azure</groupId>
62-
<artifactId>adal4j</artifactId>
63-
</dependency>
6460
<dependency>
6561
<groupId>com.amazonaws</groupId>
6662
<artifactId>aws-java-sdk-sts</artifactId>

util/src/main/java/io/kubernetes/client/util/KubeConfig.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import com.google.gson.JsonParser;
1919
import io.kubernetes.client.persister.ConfigPersister;
2020
import io.kubernetes.client.util.authenticators.Authenticator;
21-
import io.kubernetes.client.util.authenticators.AzureActiveDirectoryAuthenticator;
2221
import io.kubernetes.client.util.authenticators.GCPAuthenticator;
2322
import io.kubernetes.client.util.authenticators.OpenIDConnectAuthenticator;
2423
import java.io.File;
@@ -79,7 +78,6 @@ public static void registerAuthenticator(Authenticator auth) {
7978

8079
static {
8180
registerAuthenticator(new GCPAuthenticator());
82-
registerAuthenticator(new AzureActiveDirectoryAuthenticator());
8381
registerAuthenticator(new OpenIDConnectAuthenticator());
8482
}
8583

util/src/main/java/io/kubernetes/client/util/authenticators/AzureActiveDirectoryAuthenticator.java

Lines changed: 0 additions & 84 deletions
This file was deleted.

0 commit comments

Comments
 (0)