public class com.microsoft.azure.credentials.MSICredentials extends com.microsoft.azure.credentials.AzureTokenCredentials
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.microsoft.azure.credentials.MSICredentials
super_class: com.microsoft.azure.credentials.AzureTokenCredentials
{
private final java.util.List<java.lang.Integer> retrySlots;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/Integer;>;
private int maxRetry;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int customTimeout;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final java.util.concurrent.locks.Lock lock;
descriptor: Ljava/util/concurrent/locks/Lock;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.ConcurrentHashMap<java.lang.String, com.microsoft.azure.credentials.MSIToken> cache;
descriptor: Ljava/util/concurrent/ConcurrentHashMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentHashMap<Ljava/lang/String;Lcom/microsoft/azure/credentials/MSIToken;>;
private final java.lang.String resource;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int msiPort;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final com.microsoft.azure.credentials.MSICredentials$MSITokenSource tokenSource;
descriptor: Lcom/microsoft/azure/credentials/MSICredentials$MSITokenSource;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.microsoft.azure.serializer.AzureJacksonAdapter adapter;
descriptor: Lcom/microsoft/azure/serializer/AzureJacksonAdapter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.String objectId;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String clientId;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String identityId;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic com.microsoft.azure.AzureEnvironment.AZURE:Lcom/microsoft/azure/AzureEnvironment;
invokespecial com.microsoft.azure.credentials.MSICredentials.<init>:(Lcom/microsoft/azure/AzureEnvironment;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/microsoft/azure/credentials/MSICredentials;
public void <init>(com.microsoft.azure.AzureEnvironment);
descriptor: (Lcom/microsoft/azure/AzureEnvironment;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial com.microsoft.azure.credentials.AzureTokenCredentials.<init>:(Lcom/microsoft/azure/AzureEnvironment;Ljava/lang/String;)V
1: aload 0
new java.util.ArrayList
dup
bipush 20
anewarray java.lang.Integer
dup
iconst_0
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
iconst_2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
iconst_5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_5
bipush 8
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 6
bipush 13
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 7
bipush 21
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 8
bipush 34
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 9
bipush 55
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 10
bipush 89
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 11
sipush 144
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 12
sipush 233
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 13
sipush 377
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 14
sipush 610
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 15
sipush 987
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 16
sipush 1597
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 17
sipush 2584
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 18
sipush 4181
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 19
sipush 6765
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
putfield com.microsoft.azure.credentials.MSICredentials.retrySlots:Ljava/util/List;
2: aload 0
aload 0
getfield com.microsoft.azure.credentials.MSICredentials.retrySlots:Ljava/util/List;
invokeinterface java.util.List.size:()I
putfield com.microsoft.azure.credentials.MSICredentials.maxRetry:I
3: aload 0
iconst_m1
putfield com.microsoft.azure.credentials.MSICredentials.customTimeout:I
4: aload 0
new java.util.concurrent.locks.ReentrantLock
dup
invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
putfield com.microsoft.azure.credentials.MSICredentials.lock:Ljava/util/concurrent/locks/Lock;
5: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield com.microsoft.azure.credentials.MSICredentials.cache:Ljava/util/concurrent/ConcurrentHashMap;
6: aload 0
ldc 50342
putfield com.microsoft.azure.credentials.MSICredentials.msiPort:I
7: aload 0
new com.microsoft.azure.serializer.AzureJacksonAdapter
dup
invokespecial com.microsoft.azure.serializer.AzureJacksonAdapter.<init>:()V
putfield com.microsoft.azure.credentials.MSICredentials.adapter:Lcom/microsoft/azure/serializer/AzureJacksonAdapter;
8: aload 0
aload 1
invokevirtual com.microsoft.azure.AzureEnvironment.managementEndpoint:()Ljava/lang/String;
putfield com.microsoft.azure.credentials.MSICredentials.resource:Ljava/lang/String;
9: aload 0
getstatic com.microsoft.azure.credentials.MSICredentials$MSITokenSource.IMDS_ENDPOINT:Lcom/microsoft/azure/credentials/MSICredentials$MSITokenSource;
putfield com.microsoft.azure.credentials.MSICredentials.tokenSource:Lcom/microsoft/azure/credentials/MSICredentials$MSITokenSource;
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/microsoft/azure/credentials/MSICredentials;
0 11 1 environment Lcom/microsoft/azure/AzureEnvironment;
MethodParameters:
Name Flags
environment
public void <init>(com.microsoft.azure.AzureEnvironment, int);
descriptor: (Lcom/microsoft/azure/AzureEnvironment;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
invokespecial com.microsoft.azure.credentials.AzureTokenCredentials.<init>:(Lcom/microsoft/azure/AzureEnvironment;Ljava/lang/String;)V
1: aload 0
new java.util.ArrayList
dup
bipush 20
anewarray java.lang.Integer
dup
iconst_0
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
iconst_2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
iconst_5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_5
bipush 8
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 6
bipush 13
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 7
bipush 21
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 8
bipush 34
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 9
bipush 55
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 10
bipush 89
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 11
sipush 144
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 12
sipush 233
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 13
sipush 377
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 14
sipush 610
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 15
sipush 987
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 16
sipush 1597
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 17
sipush 2584
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 18
sipush 4181
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 19
sipush 6765
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
putfield com.microsoft.azure.credentials.MSICredentials.retrySlots:Ljava/util/List;
2: aload 0
aload 0
getfield com.microsoft.azure.credentials.MSICredentials.retrySlots:Ljava/util/List;
invokeinterface java.util.List.size:()I
putfield com.microsoft.azure.credentials.MSICredentials.maxRetry:I
3: aload 0
iconst_m1
putfield com.microsoft.azure.credentials.MSICredentials.customTimeout:I
4: aload 0
new java.util.concurrent.locks.ReentrantLock
dup
invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
putfield com.microsoft.azure.credentials.MSICredentials.lock:Ljava/util/concurrent/locks/Lock;
5: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield com.microsoft.azure.credentials.MSICredentials.cache:Ljava/util/concurrent/ConcurrentHashMap;
6: aload 0
ldc 50342
putfield com.microsoft.azure.credentials.MSICredentials.msiPort:I
7: aload 0
new com.microsoft.azure.serializer.AzureJacksonAdapter
dup
invokespecial com.microsoft.azure.serializer.AzureJacksonAdapter.<init>:()V
putfield com.microsoft.azure.credentials.MSICredentials.adapter:Lcom/microsoft/azure/serializer/AzureJacksonAdapter;
8: aload 0
aload 1
invokevirtual com.microsoft.azure.AzureEnvironment.managementEndpoint:()Ljava/lang/String;
putfield com.microsoft.azure.credentials.MSICredentials.resource:Ljava/lang/String;
9: aload 0
iload 2
putfield com.microsoft.azure.credentials.MSICredentials.msiPort:I
10: aload 0
getstatic com.microsoft.azure.credentials.MSICredentials$MSITokenSource.MSI_EXTENSION:Lcom/microsoft/azure/credentials/MSICredentials$MSITokenSource;
putfield com.microsoft.azure.credentials.MSICredentials.tokenSource:Lcom/microsoft/azure/credentials/MSICredentials$MSITokenSource;
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/microsoft/azure/credentials/MSICredentials;
0 12 1 environment Lcom/microsoft/azure/AzureEnvironment;
0 12 2 msiPort I
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
environment
msiPort
public com.microsoft.azure.credentials.MSICredentials withObjectId(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/microsoft/azure/credentials/MSICredentials;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.microsoft.azure.credentials.MSICredentials.objectId:Ljava/lang/String;
1: aload 0
aconst_null
putfield com.microsoft.azure.credentials.MSICredentials.clientId:Ljava/lang/String;
2: aload 0
aconst_null
putfield com.microsoft.azure.credentials.MSICredentials.identityId:Ljava/lang/String;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/microsoft/azure/credentials/MSICredentials;
0 4 1 objectId Ljava/lang/String;
RuntimeInvisibleAnnotations:
com.microsoft.azure.management.apigeneration.Beta()
MethodParameters:
Name Flags
objectId
public com.microsoft.azure.credentials.MSICredentials withClientId(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/microsoft/azure/credentials/MSICredentials;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.microsoft.azure.credentials.MSICredentials.clientId:Ljava/lang/String;
1: aload 0
aconst_null
putfield com.microsoft.azure.credentials.MSICredentials.objectId:Ljava/lang/String;
2: aload 0
aconst_null
putfield com.microsoft.azure.credentials.MSICredentials.identityId:Ljava/lang/String;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/microsoft/azure/credentials/MSICredentials;
0 4 1 clientId Ljava/lang/String;
RuntimeInvisibleAnnotations:
com.microsoft.azure.management.apigeneration.Beta()
MethodParameters:
Name Flags
clientId
public com.microsoft.azure.credentials.MSICredentials withIdentityId(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/microsoft/azure/credentials/MSICredentials;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.microsoft.azure.credentials.MSICredentials.identityId:Ljava/lang/String;
1: aload 0
aconst_null
putfield com.microsoft.azure.credentials.MSICredentials.clientId:Ljava/lang/String;
2: aload 0
aconst_null
putfield com.microsoft.azure.credentials.MSICredentials.objectId:Ljava/lang/String;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/microsoft/azure/credentials/MSICredentials;
0 4 1 identityId Ljava/lang/String;
RuntimeInvisibleAnnotations:
com.microsoft.azure.management.apigeneration.Beta()
MethodParameters:
Name Flags
identityId
public com.microsoft.azure.credentials.MSICredentials withCustomTimeout(int);
descriptor: (I)Lcom/microsoft/azure/credentials/MSICredentials;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.microsoft.azure.credentials.MSICredentials.customTimeout:I
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/microsoft/azure/credentials/MSICredentials;
0 2 1 timeoutInMs I
MethodParameters:
Name Flags
timeoutInMs
public java.lang.String getToken(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.microsoft.azure.credentials.MSICredentials.tokenSource:Lcom/microsoft/azure/credentials/MSICredentials$MSITokenSource;
getstatic com.microsoft.azure.credentials.MSICredentials$MSITokenSource.MSI_EXTENSION:Lcom/microsoft/azure/credentials/MSICredentials$MSITokenSource;
if_acmpne 4
1: aload 0
aload 1
ifnonnull 2
aload 0
getfield com.microsoft.azure.credentials.MSICredentials.resource:Ljava/lang/String;
goto 3
StackMap locals:
StackMap stack: com.microsoft.azure.credentials.MSICredentials
2: aload 1
StackMap locals: com.microsoft.azure.credentials.MSICredentials java.lang.String
StackMap stack: com.microsoft.azure.credentials.MSICredentials java.lang.String
3: invokevirtual com.microsoft.azure.credentials.MSICredentials.getTokenFromMSIExtension:(Ljava/lang/String;)Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
ifnonnull 5
aload 0
getfield com.microsoft.azure.credentials.MSICredentials.resource:Ljava/lang/String;
goto 6
StackMap locals:
StackMap stack: com.microsoft.azure.credentials.MSICredentials
5: aload 1
StackMap locals: com.microsoft.azure.credentials.MSICredentials java.lang.String
StackMap stack: com.microsoft.azure.credentials.MSICredentials java.lang.String
6: invokevirtual com.microsoft.azure.credentials.MSICredentials.getTokenFromIMDSEndpoint:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/microsoft/azure/credentials/MSICredentials;
0 7 1 tokenAudience Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
tokenAudience
private java.lang.String getTokenFromMSIExtension(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=12, args_size=2
start local 0 start local 1 0: new java.net.URL
dup
ldc "http://localhost:%d/oauth2/token"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.microsoft.azure.credentials.MSICredentials.msiPort:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: ldc "resource=%s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 3
start local 3 2: aload 0
getfield com.microsoft.azure.credentials.MSICredentials.objectId:Ljava/lang/String;
ifnull 5
3: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "&object_id=%s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.microsoft.azure.credentials.MSICredentials.objectId:Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
4: goto 10
StackMap locals: java.net.URL java.lang.String
StackMap stack:
5: aload 0
getfield com.microsoft.azure.credentials.MSICredentials.clientId:Ljava/lang/String;
ifnull 8
6: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "&client_id=%s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.microsoft.azure.credentials.MSICredentials.clientId:Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
7: goto 10
StackMap locals:
StackMap stack:
8: aload 0
getfield com.microsoft.azure.credentials.MSICredentials.identityId:Ljava/lang/String;
ifnull 10
9: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "&msi_res_id=%s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.microsoft.azure.credentials.MSICredentials.identityId:Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
10: StackMap locals:
StackMap stack:
aconst_null
astore 4
start local 4 11: aload 2
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
checkcast java.net.HttpURLConnection
astore 4
12: aload 4
ldc "POST"
invokevirtual java.net.HttpURLConnection.setRequestMethod:(Ljava/lang/String;)V
13: aload 4
ldc "Content-Type"
ldc "application/x-www-form-urlencoded; charset=utf-8"
invokevirtual java.net.HttpURLConnection.setRequestProperty:(Ljava/lang/String;Ljava/lang/String;)V
14: aload 4
ldc "Metadata"
ldc "true"
invokevirtual java.net.HttpURLConnection.setRequestProperty:(Ljava/lang/String;Ljava/lang/String;)V
15: aload 4
ldc "Content-Length"
aload 3
invokevirtual java.lang.String.length:()I
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.net.HttpURLConnection.setRequestProperty:(Ljava/lang/String;Ljava/lang/String;)V
16: aload 4
iconst_1
invokevirtual java.net.HttpURLConnection.setDoOutput:(Z)V
17: aload 4
invokevirtual java.net.HttpURLConnection.connect:()V
18: new java.io.OutputStreamWriter
dup
aload 4
invokevirtual java.net.HttpURLConnection.getOutputStream:()Ljava/io/OutputStream;
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;)V
astore 5
start local 5 19: aload 5
aload 3
invokevirtual java.io.OutputStreamWriter.write:(Ljava/lang/String;)V
20: aload 5
invokevirtual java.io.OutputStreamWriter.flush:()V
21: aload 4
invokevirtual java.net.HttpURLConnection.getInputStream:()Ljava/io/InputStream;
astore 6
start local 6 22: new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
aload 6
ldc "UTF-8"
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
bipush 100
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;I)V
astore 7
start local 7 23: aload 7
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 8
start local 8 24: aload 0
getfield com.microsoft.azure.credentials.MSICredentials.adapter:Lcom/microsoft/azure/serializer/AzureJacksonAdapter;
aload 8
ldc Lcom/microsoft/azure/credentials/MSIToken;
invokevirtual com.microsoft.azure.serializer.AzureJacksonAdapter.deserialize:(Ljava/lang/String;Ljava/lang/reflect/Type;)Ljava/lang/Object;
checkcast com.microsoft.azure.credentials.MSIToken
astore 9
start local 9 25: aload 9
invokevirtual com.microsoft.azure.credentials.MSIToken.accessToken:()Ljava/lang/String;
astore 11
26: aload 4
ifnull 28
27: aload 4
invokevirtual java.net.HttpURLConnection.disconnect:()V
28: StackMap locals: com.microsoft.azure.credentials.MSICredentials java.lang.String java.net.URL java.lang.String java.net.HttpURLConnection java.io.OutputStreamWriter java.io.InputStream java.io.BufferedReader java.lang.String com.microsoft.azure.credentials.MSIToken top java.lang.String
StackMap stack:
aload 11
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 29: StackMap locals: com.microsoft.azure.credentials.MSICredentials java.lang.String java.net.URL java.lang.String java.net.HttpURLConnection
StackMap stack: java.lang.Exception
astore 5
start local 5 30: aload 5
invokevirtual java.lang.Exception.printStackTrace:()V
31: aload 5
athrow
end local 5 32: StackMap locals:
StackMap stack: java.lang.Throwable
astore 10
33: aload 4
ifnull 35
34: aload 4
invokevirtual java.net.HttpURLConnection.disconnect:()V
35: StackMap locals: com.microsoft.azure.credentials.MSICredentials java.lang.String java.net.URL java.lang.String java.net.HttpURLConnection top top top top top java.lang.Throwable
StackMap stack:
aload 10
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lcom/microsoft/azure/credentials/MSICredentials;
0 36 1 tokenAudience Ljava/lang/String;
1 36 2 url Ljava/net/URL;
2 36 3 postData Ljava/lang/String;
11 36 4 connection Ljava/net/HttpURLConnection;
19 29 5 wr Ljava/io/OutputStreamWriter;
22 29 6 stream Ljava/io/InputStream;
23 29 7 reader Ljava/io/BufferedReader;
24 29 8 result Ljava/lang/String;
25 29 9 msiToken Lcom/microsoft/azure/credentials/MSIToken;
30 32 5 e Ljava/lang/Exception;
Exception table:
from to target type
11 26 29 Class java.lang.Exception
11 26 32 any
29 32 32 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
tokenAudience
private java.lang.String getTokenFromIMDSEndpoint(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.microsoft.azure.credentials.MSICredentials.cache:Ljava/util/concurrent/ConcurrentHashMap;
aload 1
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.microsoft.azure.credentials.MSIToken
astore 2
start local 2 1: aload 2
ifnull 3
aload 2
invokevirtual com.microsoft.azure.credentials.MSIToken.isExpired:()Z
ifne 3
2: aload 2
invokevirtual com.microsoft.azure.credentials.MSIToken.accessToken:()Ljava/lang/String;
areturn
3: StackMap locals: com.microsoft.azure.credentials.MSIToken
StackMap stack:
aload 0
getfield com.microsoft.azure.credentials.MSICredentials.lock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
4: aload 0
getfield com.microsoft.azure.credentials.MSICredentials.cache:Ljava/util/concurrent/ConcurrentHashMap;
aload 1
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.microsoft.azure.credentials.MSIToken
astore 2
5: aload 2
ifnull 9
aload 2
invokevirtual com.microsoft.azure.credentials.MSIToken.isExpired:()Z
ifne 9
6: aload 2
invokevirtual com.microsoft.azure.credentials.MSIToken.accessToken:()Ljava/lang/String;
astore 5
7: aload 0
getfield com.microsoft.azure.credentials.MSICredentials.lock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
8: aload 5
areturn
9: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.microsoft.azure.credentials.MSICredentials.retrieveTokenFromIDMSWithRetry:(Ljava/lang/String;)Lcom/microsoft/azure/credentials/MSIToken;
astore 2
10: aload 2
ifnull 15
11: aload 0
getfield com.microsoft.azure.credentials.MSICredentials.cache:Ljava/util/concurrent/ConcurrentHashMap;
aload 1
aload 2
invokevirtual java.util.concurrent.ConcurrentHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: goto 15
StackMap locals:
StackMap stack: java.io.IOException
13: astore 3
start local 3 14: new java.lang.RuntimeException
dup
aload 3
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 15: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.microsoft.azure.credentials.MSIToken.accessToken:()Ljava/lang/String;
astore 5
16: aload 0
getfield com.microsoft.azure.credentials.MSICredentials.lock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
17: aload 5
areturn
18: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
19: aload 0
getfield com.microsoft.azure.credentials.MSICredentials.lock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
20: aload 4
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/microsoft/azure/credentials/MSICredentials;
0 21 1 tokenAudience Ljava/lang/String;
1 21 2 token Lcom/microsoft/azure/credentials/MSIToken;
14 15 3 exception Ljava/io/IOException;
Exception table:
from to target type
9 12 13 Class java.io.IOException
4 7 18 any
9 16 18 any
MethodParameters:
Name Flags
tokenAudience
private com.microsoft.azure.credentials.MSIToken retrieveTokenFromIDMSWithRetry(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/microsoft/azure/credentials/MSIToken;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=14, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: aload 2
ldc "api-version"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 2
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 2
ldc "2018-02-01"
ldc "UTF-8"
invokestatic java.net.URLEncoder.encode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 2
ldc "&"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 2
ldc "resource"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 2
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 2
aload 1
ldc "UTF-8"
invokestatic java.net.URLEncoder.encode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 0
getfield com.microsoft.azure.credentials.MSICredentials.objectId:Ljava/lang/String;
ifnull 15
10: aload 2
ldc "&"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 2
ldc "object_id"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: aload 2
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: aload 2
aload 0
getfield com.microsoft.azure.credentials.MSICredentials.objectId:Ljava/lang/String;
ldc "UTF-8"
invokestatic java.net.URLEncoder.encode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: goto 29
StackMap locals: java.lang.StringBuilder int
StackMap stack:
15: aload 0
getfield com.microsoft.azure.credentials.MSICredentials.clientId:Ljava/lang/String;
ifnull 21
16: aload 2
ldc "&"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
17: aload 2
ldc "client_id"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
18: aload 2
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: aload 2
aload 0
getfield com.microsoft.azure.credentials.MSICredentials.clientId:Ljava/lang/String;
ldc "UTF-8"
invokestatic java.net.URLEncoder.encode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
20: goto 29
StackMap locals:
StackMap stack:
21: aload 0
getfield com.microsoft.azure.credentials.MSICredentials.identityId:Ljava/lang/String;
ifnull 29
22: aload 2
ldc "&"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
23: aload 2
ldc "msi_res_id"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
24: aload 2
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
25: aload 2
aload 0
getfield com.microsoft.azure.credentials.MSICredentials.identityId:Ljava/lang/String;
ldc "UTF-8"
invokestatic java.net.URLEncoder.encode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
26: goto 29
StackMap locals:
StackMap stack: java.io.IOException
27: astore 4
start local 4 28: new java.lang.RuntimeException
dup
aload 4
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 29: StackMap locals:
StackMap stack:
iconst_1
istore 4
start local 4 30: goto 68
31: StackMap locals: int
StackMap stack:
new java.net.URL
dup
ldc "http://169.254.169.254/metadata/identity/oauth2/token?%s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 5
start local 5 32: aconst_null
astore 6
start local 6 33: invokestatic java.util.Calendar.getInstance:()Ljava/util/Calendar;
invokevirtual java.util.Calendar.getTime:()Ljava/util/Date;
invokevirtual java.util.Date.getTime:()J
lstore 7
start local 7 34: aload 5
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
checkcast java.net.HttpURLConnection
astore 6
35: aload 6
ldc "GET"
invokevirtual java.net.HttpURLConnection.setRequestMethod:(Ljava/lang/String;)V
36: aload 6
ldc "Metadata"
ldc "true"
invokevirtual java.net.HttpURLConnection.setRequestProperty:(Ljava/lang/String;Ljava/lang/String;)V
37: aload 6
invokevirtual java.net.HttpURLConnection.connect:()V
38: aload 6
invokevirtual java.net.HttpURLConnection.getInputStream:()Ljava/io/InputStream;
astore 9
start local 9 39: new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
aload 9
ldc "UTF-8"
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
bipush 100
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;I)V
astore 10
start local 10 40: aload 10
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 11
start local 11 41: aload 0
getfield com.microsoft.azure.credentials.MSICredentials.adapter:Lcom/microsoft/azure/serializer/AzureJacksonAdapter;
aload 11
ldc Lcom/microsoft/azure/credentials/MSIToken;
invokevirtual com.microsoft.azure.serializer.AzureJacksonAdapter.deserialize:(Ljava/lang/String;Ljava/lang/reflect/Type;)Ljava/lang/Object;
checkcast com.microsoft.azure.credentials.MSIToken
astore 13
42: aload 6
ifnull 44
43: aload 6
invokevirtual java.net.HttpURLConnection.disconnect:()V
44: StackMap locals: com.microsoft.azure.credentials.MSICredentials java.lang.String java.lang.StringBuilder int int java.net.URL java.net.HttpURLConnection long java.io.InputStream java.io.BufferedReader java.lang.String top com.microsoft.azure.credentials.MSIToken
StackMap stack:
aload 13
areturn
end local 11 end local 10 end local 9 45: StackMap locals: com.microsoft.azure.credentials.MSICredentials java.lang.String java.lang.StringBuilder int int java.net.URL java.net.HttpURLConnection long
StackMap stack: java.lang.Exception
astore 9
start local 9 46: aload 6
invokevirtual java.net.HttpURLConnection.getResponseCode:()I
istore 10
start local 10 47: iload 10
sipush 410
if_icmpeq 48
iload 10
sipush 429
if_icmpeq 48
iload 10
sipush 404
if_icmpeq 48
iload 10
sipush 500
if_icmplt 61
iload 10
sipush 599
if_icmpgt 61
48: StackMap locals: java.lang.Exception int
StackMap stack:
iload 3
ifeq 50
49: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Couldn't acquire access token from IMDS within the specified timeout : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.microsoft.azure.credentials.MSICredentials.customTimeout:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " milliseconds"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
50: StackMap locals:
StackMap stack:
aload 0
getfield com.microsoft.azure.credentials.MSICredentials.retrySlots:Ljava/util/List;
new java.util.Random
dup
invokespecial java.util.Random.<init>:()V
iload 4
invokevirtual java.util.Random.nextInt:(I)I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
sipush 1000
imul
istore 11
start local 11 51: iload 10
sipush 410
if_icmpne 52
iload 11
ldc 70000
if_icmpge 52
ldc 70000
goto 53
StackMap locals: int
StackMap stack:
52: iload 11
StackMap locals:
StackMap stack: int
53: istore 11
54: iinc 4 1
55: iload 4
aload 0
getfield com.microsoft.azure.credentials.MSICredentials.maxRetry:I
if_icmple 59
56: aload 6
ifnull 69
57: aload 6
invokevirtual java.net.HttpURLConnection.disconnect:()V
58: goto 69
59: StackMap locals:
StackMap stack:
aload 0
iload 11
lload 7
invokevirtual com.microsoft.azure.credentials.MSICredentials.sleep:(IJ)Z
istore 3
end local 11 60: goto 62
61: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
ldc "Couldn't acquire access token from IMDS, verify your objectId, clientId or msiResourceId"
aload 9
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 10 end local 9 62: StackMap locals:
StackMap stack:
aload 6
ifnull 68
63: aload 6
invokevirtual java.net.HttpURLConnection.disconnect:()V
goto 68
64: StackMap locals:
StackMap stack: java.lang.Throwable
astore 12
65: aload 6
ifnull 67
66: aload 6
invokevirtual java.net.HttpURLConnection.disconnect:()V
67: StackMap locals: com.microsoft.azure.credentials.MSICredentials java.lang.String java.lang.StringBuilder int int java.net.URL java.net.HttpURLConnection long top top top java.lang.Throwable
StackMap stack:
aload 12
athrow
end local 7 end local 6 end local 5 68: StackMap locals: com.microsoft.azure.credentials.MSICredentials java.lang.String java.lang.StringBuilder int int
StackMap stack:
iload 4
aload 0
getfield com.microsoft.azure.credentials.MSICredentials.maxRetry:I
if_icmple 31
69: StackMap locals:
StackMap stack:
iload 4
aload 0
getfield com.microsoft.azure.credentials.MSICredentials.maxRetry:I
if_icmple 71
70: new java.lang.RuntimeException
dup
ldc "MSI: Failed to acquire tokens after retrying %s times"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.microsoft.azure.credentials.MSICredentials.maxRetry:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
71: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 72 0 this Lcom/microsoft/azure/credentials/MSICredentials;
0 72 1 tokenAudience Ljava/lang/String;
1 72 2 payload Ljava/lang/StringBuilder;
2 72 3 hasTimedout Z
28 29 4 exception Ljava/io/IOException;
30 72 4 retry I
32 68 5 url Ljava/net/URL;
33 68 6 connection Ljava/net/HttpURLConnection;
34 68 7 startTime J
39 45 9 stream Ljava/io/InputStream;
40 45 10 reader Ljava/io/BufferedReader;
41 45 11 result Ljava/lang/String;
46 62 9 exception Ljava/lang/Exception;
47 62 10 responseCode I
51 60 11 retryTimeoutInMs I
Exception table:
from to target type
2 26 27 Class java.io.IOException
34 42 45 Class java.lang.Exception
34 42 64 any
45 56 64 any
59 62 64 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
tokenAudience
private boolean sleep(int, long);
descriptor: (IJ)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: lconst_0
lstore 4
start local 4 1: aload 0
getfield com.microsoft.azure.credentials.MSICredentials.customTimeout:I
iconst_m1
if_icmple 10
2: lload 2
aload 0
getfield com.microsoft.azure.credentials.MSICredentials.customTimeout:I
i2l
ladd
invokestatic java.util.Calendar.getInstance:()Ljava/util/Calendar;
invokevirtual java.util.Calendar.getTime:()Ljava/util/Date;
invokevirtual java.util.Date.getTime:()J
lsub
lstore 6
start local 6 3: iload 1
i2l
lload 6
lcmp
ifge 4
iload 1
i2l
goto 5
StackMap locals: long long
StackMap stack:
4: lload 6
StackMap locals:
StackMap stack: long
5: lstore 6
6: lload 6
lconst_0
lcmp
ifle 7
lload 6
goto 8
StackMap locals:
StackMap stack:
7: lconst_0
StackMap locals:
StackMap stack: long
8: lstore 4
end local 6 9: goto 11
10: StackMap locals:
StackMap stack:
iload 1
i2l
lstore 4
11: StackMap locals:
StackMap stack:
lload 4
invokestatic com.microsoft.azure.credentials.MSICredentials.sleep:(J)V
12: lload 4
iload 1
i2l
lcmp
ifeq 13
iconst_1
ireturn
StackMap locals:
StackMap stack:
13: iconst_0
ireturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/microsoft/azure/credentials/MSICredentials;
0 14 1 timeToWaitinMs I
0 14 2 startTime J
1 14 4 timeToSleep J
3 9 6 timeRemainingToTimeout J
MethodParameters:
Name Flags
timeToWaitinMs
startTime
private static void sleep(long);
descriptor: (J)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: lload 0
invokestatic java.lang.Thread.sleep:(J)V
1: goto 4
StackMap locals:
StackMap stack: java.lang.InterruptedException
2: astore 2
start local 2 3: new java.lang.RuntimeException
dup
aload 2
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 millis J
3 4 2 ex Ljava/lang/InterruptedException;
Exception table:
from to target type
0 1 2 Class java.lang.InterruptedException
MethodParameters:
Name Flags
millis
public int maxRetry();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.microsoft.azure.credentials.MSICredentials.maxRetry:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/microsoft/azure/credentials/MSICredentials;
public void setMaxRetry(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.microsoft.azure.credentials.MSICredentials.maxRetry:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/microsoft/azure/credentials/MSICredentials;
0 2 1 maxRetry I
MethodParameters:
Name Flags
maxRetry
}
SourceFile: "MSICredentials.java"
NestMembers:
com.microsoft.azure.credentials.MSICredentials$MSITokenSource
InnerClasses:
private final MSITokenSource = com.microsoft.azure.credentials.MSICredentials$MSITokenSource of com.microsoft.azure.credentials.MSICredentials
RuntimeInvisibleAnnotations:
com.microsoft.azure.management.apigeneration.Beta()