class io.dropwizard.auth.CachingAuthenticator$1 extends com.google.common.cache.CacheLoader<C, java.util.Optional<P>>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.dropwizard.auth.CachingAuthenticator$1
super_class: com.google.common.cache.CacheLoader
{
final io.dropwizard.auth.CachingAuthenticator this$0;
descriptor: Lio/dropwizard/auth/CachingAuthenticator;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final io.dropwizard.auth.Authenticator val$authenticator;
descriptor: Lio/dropwizard/auth/Authenticator;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(io.dropwizard.auth.CachingAuthenticator, io.dropwizard.auth.Authenticator);
descriptor: (Lio/dropwizard/auth/CachingAuthenticator;Lio/dropwizard/auth/Authenticator;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield io.dropwizard.auth.CachingAuthenticator$1.this$0:Lio/dropwizard/auth/CachingAuthenticator;
aload 0
aload 2
putfield io.dropwizard.auth.CachingAuthenticator$1.val$authenticator:Lio/dropwizard/auth/Authenticator;
aload 0
invokespecial com.google.common.cache.CacheLoader.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/auth/CachingAuthenticator$1;
MethodParameters:
Name Flags
this$0 final
val$authenticator final
public java.util.Optional<P> load(C);
descriptor: (Ljava/lang/Object;)Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.auth.CachingAuthenticator$1.this$0:Lio/dropwizard/auth/CachingAuthenticator;
getfield io.dropwizard.auth.CachingAuthenticator.cacheMisses:Lcom/codahale/metrics/Meter;
invokevirtual com.codahale.metrics.Meter.mark:()V
1: aload 0
getfield io.dropwizard.auth.CachingAuthenticator$1.val$authenticator:Lio/dropwizard/auth/Authenticator;
aload 1
invokeinterface io.dropwizard.auth.Authenticator.authenticate:(Ljava/lang/Object;)Ljava/util/Optional;
astore 2
start local 2 2: aload 2
invokevirtual java.util.Optional.isPresent:()Z
ifne 4
3: new io.dropwizard.auth.CachingAuthenticator$InvalidCredentialsException
dup
invokespecial io.dropwizard.auth.CachingAuthenticator$InvalidCredentialsException.<init>:()V
athrow
4: StackMap locals: java.util.Optional
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/dropwizard/auth/CachingAuthenticator$1;
0 5 1 key TC;
2 5 2 optPrincipal Ljava/util/Optional<TP;>;
Exceptions:
throws java.lang.Exception
Signature: (TC;)Ljava/util/Optional<TP;>;
MethodParameters:
Name Flags
key
public java.lang.Object load(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.Object
invokevirtual io.dropwizard.auth.CachingAuthenticator$1.load:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
Signature: Lcom/google/common/cache/CacheLoader<TC;Ljava/util/Optional<TP;>;>;
SourceFile: "CachingAuthenticator.java"
EnclosingMethod: io.dropwizard.auth.CachingAuthenticator.<init>:(Lcom/codahale/metrics/MetricRegistry;Lio/dropwizard/auth/Authenticator;Lcom/google/common/cache/CacheBuilder;)V
NestHost: io.dropwizard.auth.CachingAuthenticator
InnerClasses:
io.dropwizard.auth.CachingAuthenticator$1
private InvalidCredentialsException = io.dropwizard.auth.CachingAuthenticator$InvalidCredentialsException of io.dropwizard.auth.CachingAuthenticator