public class io.vertx.ext.web.handler.impl.JWTAuthHandlerImpl extends io.vertx.ext.web.handler.impl.AuthorizationAuthHandler implements io.vertx.ext.web.handler.JWTAuthHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.web.handler.impl.JWTAuthHandlerImpl
super_class: io.vertx.ext.web.handler.impl.AuthorizationAuthHandler
{
private final java.lang.String skip;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.json.JsonObject options;
descriptor: Lio/vertx/core/json/JsonObject;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(io.vertx.ext.auth.jwt.JWTAuth, java.lang.String);
descriptor: (Lio/vertx/ext/auth/jwt/JWTAuth;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
getstatic io.vertx.ext.web.handler.impl.AuthorizationAuthHandler$Type.BEARER:Lio/vertx/ext/web/handler/impl/AuthorizationAuthHandler$Type;
invokespecial io.vertx.ext.web.handler.impl.AuthorizationAuthHandler.<init>:(Lio/vertx/ext/auth/AuthProvider;Lio/vertx/ext/web/handler/impl/AuthorizationAuthHandler$Type;)V
1: aload 0
aload 2
putfield io.vertx.ext.web.handler.impl.JWTAuthHandlerImpl.skip:Ljava/lang/String;
2: aload 0
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
putfield io.vertx.ext.web.handler.impl.JWTAuthHandlerImpl.options:Lio/vertx/core/json/JsonObject;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/ext/web/handler/impl/JWTAuthHandlerImpl;
0 4 1 authProvider Lio/vertx/ext/auth/jwt/JWTAuth;
0 4 2 skip Ljava/lang/String;
MethodParameters:
Name Flags
authProvider
skip
public io.vertx.ext.web.handler.JWTAuthHandler setAudience(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)Lio/vertx/ext/web/handler/JWTAuthHandler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.web.handler.impl.JWTAuthHandlerImpl.options:Lio/vertx/core/json/JsonObject;
ldc "audience"
new io.vertx.core.json.JsonArray
dup
aload 1
invokespecial io.vertx.core.json.JsonArray.<init>:(Ljava/util/List;)V
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Lio/vertx/core/json/JsonArray;)Lio/vertx/core/json/JsonObject;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/handler/impl/JWTAuthHandlerImpl;
0 2 1 audience Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/util/List<Ljava/lang/String;>;)Lio/vertx/ext/web/handler/JWTAuthHandler;
MethodParameters:
Name Flags
audience
public io.vertx.ext.web.handler.JWTAuthHandler setIssuer(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/web/handler/JWTAuthHandler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.web.handler.impl.JWTAuthHandlerImpl.options:Lio/vertx/core/json/JsonObject;
ldc "issuer"
aload 1
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/handler/impl/JWTAuthHandlerImpl;
0 2 1 issuer Ljava/lang/String;
MethodParameters:
Name Flags
issuer
public io.vertx.ext.web.handler.JWTAuthHandler setIgnoreExpiration(boolean);
descriptor: (Z)Lio/vertx/ext/web/handler/JWTAuthHandler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.web.handler.impl.JWTAuthHandlerImpl.options:Lio/vertx/core/json/JsonObject;
ldc "ignoreExpiration"
iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Boolean;)Lio/vertx/core/json/JsonObject;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/handler/impl/JWTAuthHandlerImpl;
0 2 1 ignoreExpiration Z
MethodParameters:
Name Flags
ignoreExpiration
public void parseCredentials(io.vertx.ext.web.RoutingContext, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>>);
descriptor: (Lio/vertx/ext/web/RoutingContext;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.ext.web.handler.impl.JWTAuthHandlerImpl.skip:Ljava/lang/String;
ifnull 3
aload 1
invokeinterface io.vertx.ext.web.RoutingContext.normalisedPath:()Ljava/lang/String;
aload 0
getfield io.vertx.ext.web.handler.impl.JWTAuthHandlerImpl.skip:Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 3
1: aload 1
invokeinterface io.vertx.ext.web.RoutingContext.next:()V
2: return
3: StackMap locals:
StackMap stack:
aload 0
aload 1
iconst_0
aload 0
aload 2
invokedynamic handle(Lio/vertx/ext/web/handler/impl/JWTAuthHandlerImpl;Lio/vertx/core/Handler;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/ext/web/handler/impl/JWTAuthHandlerImpl.lambda$0(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.ext.web.handler.impl.JWTAuthHandlerImpl.parseAuthorization:(Lio/vertx/ext/web/RoutingContext;ZLio/vertx/core/Handler;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/ext/web/handler/impl/JWTAuthHandlerImpl;
0 5 1 context Lio/vertx/ext/web/RoutingContext;
0 5 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/json/JsonObject;>;>;
Signature: (Lio/vertx/ext/web/RoutingContext;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/json/JsonObject;>;>;)V
MethodParameters:
Name Flags
context
handler
protected java.lang.String authenticateHeader(io.vertx.ext.web.RoutingContext);
descriptor: (Lio/vertx/ext/web/RoutingContext;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: ldc "Bearer"
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/handler/impl/JWTAuthHandlerImpl;
0 1 1 context Lio/vertx/ext/web/RoutingContext;
MethodParameters:
Name Flags
context
private void lambda$0(io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 3
1: aload 1
aload 2
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: return
3: StackMap locals:
StackMap stack:
aload 1
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "jwt"
aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
ldc "options"
aload 0
getfield io.vertx.ext.web.handler.impl.JWTAuthHandlerImpl.options:Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/json/JsonObject;
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/ext/web/handler/impl/JWTAuthHandlerImpl;
0 5 2 parseAuthorization Lio/vertx/core/AsyncResult<Ljava/lang/String;>;
}
SourceFile: "JWTAuthHandlerImpl.java"
InnerClasses:
final Type = io.vertx.ext.web.handler.impl.AuthorizationAuthHandler$Type of io.vertx.ext.web.handler.impl.AuthorizationAuthHandler
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles