class com.mongodb.internal.connection.NativeAuthenticator$1 implements com.mongodb.async.SingleResultCallback<org.bson.BsonDocument>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.internal.connection.NativeAuthenticator$1
super_class: java.lang.Object
{
final com.mongodb.internal.connection.NativeAuthenticator this$0;
descriptor: Lcom/mongodb/internal/connection/NativeAuthenticator;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final com.mongodb.async.SingleResultCallback val$callback;
descriptor: Lcom/mongodb/async/SingleResultCallback;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final com.mongodb.internal.connection.InternalConnection val$connection;
descriptor: Lcom/mongodb/internal/connection/InternalConnection;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(com.mongodb.internal.connection.NativeAuthenticator, com.mongodb.async.SingleResultCallback, com.mongodb.internal.connection.InternalConnection);
descriptor: (Lcom/mongodb/internal/connection/NativeAuthenticator;Lcom/mongodb/async/SingleResultCallback;Lcom/mongodb/internal/connection/InternalConnection;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield com.mongodb.internal.connection.NativeAuthenticator$1.this$0:Lcom/mongodb/internal/connection/NativeAuthenticator;
aload 0
aload 2
putfield com.mongodb.internal.connection.NativeAuthenticator$1.val$callback:Lcom/mongodb/async/SingleResultCallback;
aload 0
aload 3
putfield com.mongodb.internal.connection.NativeAuthenticator$1.val$connection:Lcom/mongodb/internal/connection/InternalConnection;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/NativeAuthenticator$1;
MethodParameters:
Name Flags
this$0 final
val$callback final
val$connection final
public void onResult(org.bson.BsonDocument, java.lang.Throwable);
descriptor: (Lorg/bson/BsonDocument;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 3
1: aload 0
getfield com.mongodb.internal.connection.NativeAuthenticator$1.val$callback:Lcom/mongodb/async/SingleResultCallback;
aconst_null
aload 0
getfield com.mongodb.internal.connection.NativeAuthenticator$1.this$0:Lcom/mongodb/internal/connection/NativeAuthenticator;
aload 2
invokevirtual com.mongodb.internal.connection.NativeAuthenticator.translateThrowable:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
2: goto 10
3: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.internal.connection.NativeAuthenticator$1.this$0:Lcom/mongodb/internal/connection/NativeAuthenticator;
invokevirtual com.mongodb.internal.connection.NativeAuthenticator.getMongoCredential:()Lcom/mongodb/MongoCredential;
invokevirtual com.mongodb.MongoCredential.getSource:()Ljava/lang/String;
4: aload 0
getfield com.mongodb.internal.connection.NativeAuthenticator$1.this$0:Lcom/mongodb/internal/connection/NativeAuthenticator;
invokevirtual com.mongodb.internal.connection.NativeAuthenticator.getUserNameNonNull:()Ljava/lang/String;
aload 0
getfield com.mongodb.internal.connection.NativeAuthenticator$1.this$0:Lcom/mongodb/internal/connection/NativeAuthenticator;
invokevirtual com.mongodb.internal.connection.NativeAuthenticator.getPasswordNonNull:()[C
5: aload 1
ldc "nonce"
invokevirtual org.bson.BsonDocument.get:(Ljava/lang/Object;)Lorg/bson/BsonValue;
checkcast org.bson.BsonString
invokevirtual org.bson.BsonString.getValue:()Ljava/lang/String;
6: invokestatic com.mongodb.internal.authentication.NativeAuthenticationHelper.getAuthCommand:(Ljava/lang/String;[CLjava/lang/String;)Lorg/bson/BsonDocument;
7: aload 0
getfield com.mongodb.internal.connection.NativeAuthenticator$1.val$connection:Lcom/mongodb/internal/connection/InternalConnection;
8: new com.mongodb.internal.connection.NativeAuthenticator$1$1
dup
aload 0
aload 0
getfield com.mongodb.internal.connection.NativeAuthenticator$1.val$callback:Lcom/mongodb/async/SingleResultCallback;
invokespecial com.mongodb.internal.connection.NativeAuthenticator$1$1.<init>:(Lcom/mongodb/internal/connection/NativeAuthenticator$1;Lcom/mongodb/async/SingleResultCallback;)V
9: invokestatic com.mongodb.internal.connection.CommandHelper.executeCommandAsync:(Ljava/lang/String;Lorg/bson/BsonDocument;Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/async/SingleResultCallback;)V
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/mongodb/internal/connection/NativeAuthenticator$1;
0 11 1 nonceResult Lorg/bson/BsonDocument;
0 11 2 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
nonceResult final
t final
public void onResult(java.lang.Object, java.lang.Throwable);
descriptor: (Ljava/lang/Object;Ljava/lang/Throwable;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast org.bson.BsonDocument
aload 2
invokevirtual com.mongodb.internal.connection.NativeAuthenticator$1.onResult:(Lorg/bson/BsonDocument;Ljava/lang/Throwable;)V
return
LocalVariableTable:
Start End Slot Name Signature
static com.mongodb.internal.connection.NativeAuthenticator access$1(com.mongodb.internal.connection.NativeAuthenticator$1);
descriptor: (Lcom/mongodb/internal/connection/NativeAuthenticator$1;)Lcom/mongodb/internal/connection/NativeAuthenticator;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield com.mongodb.internal.connection.NativeAuthenticator$1.this$0:Lcom/mongodb/internal/connection/NativeAuthenticator;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/mongodb/async/SingleResultCallback<Lorg/bson/BsonDocument;>;
SourceFile: "NativeAuthenticator.java"
EnclosingMethod: com.mongodb.internal.connection.NativeAuthenticator.authenticateAsync:(Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/connection/ConnectionDescription;Lcom/mongodb/async/SingleResultCallback;)V
NestHost: com.mongodb.internal.connection.NativeAuthenticator
InnerClasses:
com.mongodb.internal.connection.NativeAuthenticator$1
com.mongodb.internal.connection.NativeAuthenticator$1$1