class com.mongodb.internal.connection.ScramShaAuthenticator$2 implements com.mongodb.internal.connection.ScramShaAuthenticator$AuthenticationHashGenerator
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.internal.connection.ScramShaAuthenticator$2
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: 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/ScramShaAuthenticator$2;
public java.lang.String generate(com.mongodb.MongoCredential);
descriptor: (Lcom/mongodb/MongoCredential;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.mongodb.MongoCredential.getUserName:()Ljava/lang/String;
astore 2
start local 2 1: aload 1
invokevirtual com.mongodb.MongoCredential.getPassword:()[C
astore 3
start local 3 2: aload 2
ifnull 3
aload 3
ifnonnull 4
3: StackMap locals: java.lang.String char[]
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Username and password must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 2
aload 3
invokestatic com.mongodb.internal.authentication.NativeAuthenticationHelper.createAuthenticationHash:(Ljava/lang/String;[C)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/internal/connection/ScramShaAuthenticator$2;
0 5 1 credential Lcom/mongodb/MongoCredential;
1 5 2 username Ljava/lang/String;
2 5 3 password [C
MethodParameters:
Name Flags
credential final
}
SourceFile: "ScramShaAuthenticator.java"
EnclosingMethod: com.mongodb.internal.connection.ScramShaAuthenticator
NestHost: com.mongodb.internal.connection.ScramShaAuthenticator
InnerClasses:
com.mongodb.internal.connection.ScramShaAuthenticator$2
public abstract AuthenticationHashGenerator = com.mongodb.internal.connection.ScramShaAuthenticator$AuthenticationHashGenerator of com.mongodb.internal.connection.ScramShaAuthenticator