public abstract class com.mongodb.internal.connection.Authenticator
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.mongodb.internal.connection.Authenticator
super_class: java.lang.Object
{
private final com.mongodb.internal.connection.MongoCredentialWithCache credential;
descriptor: Lcom/mongodb/internal/connection/MongoCredentialWithCache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(com.mongodb.internal.connection.MongoCredentialWithCache);
descriptor: (Lcom/mongodb/internal/connection/MongoCredentialWithCache;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.mongodb.internal.connection.Authenticator.credential:Lcom/mongodb/internal/connection/MongoCredentialWithCache;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/internal/connection/Authenticator;
0 3 1 credential Lcom/mongodb/internal/connection/MongoCredentialWithCache;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.NonNull()
MethodParameters:
Name Flags
credential final
com.mongodb.internal.connection.MongoCredentialWithCache getMongoCredentialWithCache();
descriptor: ()Lcom/mongodb/internal/connection/MongoCredentialWithCache;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.Authenticator.credential:Lcom/mongodb/internal/connection/MongoCredentialWithCache;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/Authenticator;
RuntimeVisibleAnnotations:
com.mongodb.lang.NonNull()
com.mongodb.MongoCredential getMongoCredential();
descriptor: ()Lcom/mongodb/MongoCredential;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.Authenticator.credential:Lcom/mongodb/internal/connection/MongoCredentialWithCache;
invokevirtual com.mongodb.internal.connection.MongoCredentialWithCache.getCredential:()Lcom/mongodb/MongoCredential;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/Authenticator;
RuntimeVisibleAnnotations:
com.mongodb.lang.NonNull()
java.lang.String getUserNameNonNull();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.Authenticator.credential:Lcom/mongodb/internal/connection/MongoCredentialWithCache;
invokevirtual com.mongodb.internal.connection.MongoCredentialWithCache.getCredential:()Lcom/mongodb/MongoCredential;
invokevirtual com.mongodb.MongoCredential.getUserName:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new com.mongodb.MongoInternalException
dup
ldc "User name can not be null"
invokespecial com.mongodb.MongoInternalException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/internal/connection/Authenticator;
1 4 1 userName Ljava/lang/String;
RuntimeVisibleAnnotations:
com.mongodb.lang.NonNull()
char[] getPasswordNonNull();
descriptor: ()[C
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.Authenticator.credential:Lcom/mongodb/internal/connection/MongoCredentialWithCache;
invokevirtual com.mongodb.internal.connection.MongoCredentialWithCache.getCredential:()Lcom/mongodb/MongoCredential;
invokevirtual com.mongodb.MongoCredential.getPassword:()[C
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new com.mongodb.MongoInternalException
dup
ldc "Password can not be null"
invokespecial com.mongodb.MongoInternalException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: char[]
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/internal/connection/Authenticator;
1 4 1 password [C
RuntimeVisibleAnnotations:
com.mongodb.lang.NonNull()
<T> T getNonNullMechanismProperty(java.lang.String, );
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.mongodb.internal.connection.Authenticator.credential:Lcom/mongodb/internal/connection/MongoCredentialWithCache;
invokevirtual com.mongodb.internal.connection.MongoCredentialWithCache.getCredential:()Lcom/mongodb/MongoCredential;
aload 1
aload 2
invokevirtual com.mongodb.MongoCredential.getMechanismProperty:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: new com.mongodb.MongoInternalException
dup
ldc "Mechanism property can not be null"
invokespecial com.mongodb.MongoInternalException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.Object
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/internal/connection/Authenticator;
0 4 1 key Ljava/lang/String;
0 4 2 defaultValue TT;
1 4 3 mechanismProperty TT;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;TT;)TT;
RuntimeVisibleAnnotations:
com.mongodb.lang.NonNull()
RuntimeVisibleParameterAnnotations:
0:
1:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
key final
defaultValue final
abstract void authenticate(com.mongodb.internal.connection.InternalConnection, com.mongodb.connection.ConnectionDescription);
descriptor: (Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/connection/ConnectionDescription;)V
flags: (0x0400) ACC_ABSTRACT
MethodParameters:
Name Flags
connection
connectionDescription
abstract void authenticateAsync(com.mongodb.internal.connection.InternalConnection, com.mongodb.connection.ConnectionDescription, com.mongodb.async.SingleResultCallback<java.lang.Void>);
descriptor: (Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/connection/ConnectionDescription;Lcom/mongodb/async/SingleResultCallback;)V
flags: (0x0400) ACC_ABSTRACT
Signature: (Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/connection/ConnectionDescription;Lcom/mongodb/async/SingleResultCallback<Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
connection
connectionDescription
callback
}
SourceFile: "Authenticator.java"